Connecting an SMS activation client to the API
API access lets a client buy numbers and read codes using the same balance and purchase rules as the site.
Choose the client protocol
Check which protocol your client speaks: the SMSHub-compatible type 1, the VAK-SMS REST type 2, or the 5sim-compatible type 3. Set its API address and key, then test one purchase and cancellation. Type 2 exposes all services; protocol-specific codes in types 1 and 3 depend on mappings. Developers of publicly sold software can request softId through support; under the documented terms, they receive 5% of their customers’ purchases through that software.
A VAK-SMS number stays active for 20 minutes after purchase. You may request another SMS on that same number during this window. If you cancel, time runs out, or the number is already used, the payment returns to your balance automatically. Mark an already-used number as such: it will not be issued to you again.
For other signup scenarios, browse the blog.
Frequently asked questions
Do API purchases follow different refund rules?
No. User cancellation, timeout and an already-used number return the payment to the same balance automatically.
What if the service asks for a second SMS?
Request another message on the same number while its 20-minute period is still active.