API documentation
SMS-Activate compatible styleUse platform API keys to automate number purchases, status polling, and balance checks. Numbers are sourced from multiple upstream providers while your customers interact with your PolarSMS branded API.
Your API key
Login requiredLogin or create an account to see your personal API key on this page.
Log in to view API keyGet balance
Check your current wallet balance.
Response: { "balance": 25.40 }
Request number
Purchase a temporary number for a service and country.
Response: { "status": "ACCESS_NUMBER", "activationId": 12345, "phone": "+15551234567" }
Get status
Poll an activation for the received SMS code.
Response: { "status": "STATUS_OK", "code": "123456" }
or { "status": "STATUS_WAIT_CODE" }
Set status
Control an activation lifecycle. Status codes: 1 = number ready, 3 = request another SMS, 6 = complete, 8 = cancel.
Response: { "status": "ACCESS_CANCEL", "activationStatus": "cancelled" }
Active activations
List all currently active (allocated or waiting) activations.
Response: { "activations": [{ "id": 12345, "status": "allocated", "phone_number": "+15551234567", "service_code": "tg", ... }] }
Error handling
All endpoints return standardized error codes.
{ "error": "NO_BALANCE" }
{ "error": "NO_NUMBERS" }
{ "error": "SERVICE_UNAVAILABLE" }
{ "error": "ACTIVATION_NOT_FOUND" }
{ "error": "BAD_STATUS" }
{ "error": "BAD_ACTION" }
