API Documentation
Every endpoint is authenticated with a Bearer API key, issued once your reseller application is approved. All responses are JSON.
We're a reseller, not the destination service. SolarSMS sources numbers from
upstream providers for SMS/voice verification only — we have no control over, and no responsibility
for, what the destination platform (Telegram, WhatsApp, etc.) does with the resulting account
afterward, including bans, restrictions, or a 2FA/PIN requirement it adds on its own. Once a
verification code has been delivered for a number, that purchase is considered fulfilled and is
not eligible for a refund.
Authentication
Authorization: Bearer sk_live_your_api_key
GET
/api/v1/countries
List all supported countries, each with a 2-letter code.
GET
/api/v1/services
List all services available for a country. Query: country (required).
GET
/api/v1/prices
Current cheapest price plus the full tier list for a service/country pair. Query: country, service (required — service is the code from /services).
POST
/api/v1/numbers
Buy a number at the cheapest available price. Body: country, service (required).
GET
/api/v1/numbers/{id}
Check the status of a number and read its verification code once delivered.
POST
/api/v1/numbers/{id}/cancel
Cancel a number and get an instant refund, before a code has arrived.
GET
/api/v1/balance
Check your current wallet balance.
Don't have an API key yet? Apply for reseller access →