REST API

Automate with our API

Full REST API access included with every account. X-API-Key authentication. Automate number purchasing and OTP polling.

EXAMPLE REQUEST
curl https://ringslot-backend.onrender.com/api/orders/buy \
  -H "X-API-Key: rs_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"service":"telegram","country":"any"}'
Endpoints
GET
/api/services
List all services with pricing
POST
/api/orders/buy
Purchase a number — body: {service, country}
GET
/api/orders/sms
Poll for OTP — ?id=orderId
POST
/api/orders/cancel
Cancel & refund — body: {id}
POST
/api/orders/rent
Rent a number — body: {service, country, duration}
GET
/api/wallet/balance
Get current balance