API
Simple REST API. JSON in, JSON out. No SDK needed.
Authentication
Pass your API key in the Authorization header on every request. Keys are scoped to your account and can be rotated from the dashboard.
Authorization: Bearer YOUR_API_KEYGet your key from the dashboard under Settings > API.
Base URL
https://api.sms-activate.devEndpoints
Check your current credit balance.
Response
{
"balance": 12.40,
"currency": "USD"
}Get available numbers for a service and country combination.
Query Parameters
Example Request
GET /api/v1/numbers/available?service=telegram&country=ruResponse
{
"service": "telegram",
"country": "ru",
"price": 0.07,
"available": 142
}Buy a number. Returns the number and an activation ID. Credits are held on purchase.
Request Body
{
"service": "telegram",
"country": "ru"
}Response
{
"id": "act_9x2k1p",
"number": "+79161234567",
"service": "telegram",
"country": "ru",
"expires_at": "2024-03-14T12:34:56Z"
}Check activation status and retrieve the SMS code if it has been received.
Response
{
"id": "act_9x2k1p",
"status": "received",
"code": "482910",
"received_at": "2024-03-14T12:33:22Z"
}Cancel an activation. If no SMS was received, the credit is refunded to your balance immediately.
Response
{
"id": "act_9x2k1p",
"status": "cancelled",
"refunded": true
}Rate Limits
300 requests per minute per API key. Bulk and reseller plans have higher limits — contact support to upgrade.
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 298
X-RateLimit-Reset: 1710416096
Building something on top of this?
Reseller accounts get higher rate limits, better prices, and priority support.
See reseller program