How to connect your software to SMSFlash with an API key and the common SMS-activation request format.
Get your key
Log in, open Profile and press Create key. The key is tied to your balance, so keep it secret. You can regenerate it at any time, which stops the old one immediately.
The endpoint
Requests go to /stubs/handler_api.php with your api_key and an action. The format follows the widely used SMS-activation protocol, so many existing tools work after changing the URL and key.
Typical flow
Call getBalance to check funds, getNumber with a service and country to buy, then poll getStatus every 5 to 10 seconds. When you see STATUS_OK with the code, finish with setStatus 6. If no code arrives, setStatus 8 cancels and refunds.
Limits and good practice
The API allows up to 120 requests per minute. Poll calmly, handle NO_NUMBERS and NO_BALANCE answers, and never put your key in public code.
Get a numberCreate free account