OTP API
Programmatic one-time passwords over SMS — request a number, receive the code, verify in seconds.
The Eveses OTP API gives your backend a disposable phone number on demand and streams back the one-time password the moment it lands. No SIM farm, no manual copy-paste — a single POST creates the activation, and a webhook (or long-poll) delivers the code. You are billed only when a code arrives.
How it works
Create an activation
POST a `service` and `country`; you get a live number and an activation id back instantly.
Receive the OTP
Subscribe a webhook or long-poll the activation — the parsed numeric code is returned as soon as the SMS is delivered.
Only pay on success
If no message ever arrives the activation expires free of charge; you are charged solely for delivered codes.
Code examples
Create an activation and read the OTP — cURL, Node, Python, PHP, Go.
# 1 — request a number for the service
curl -X POST "https://api.eveses.com/v1/numbers/orders" \
-H "Authorization: Bearer $EVESES_API_KEY" \
-H "Content-Type: application/json" \
-d '{"service":"any-otp","country":"us"}'
# → { "id":"act_9f2", "number":"+1202555••••", "status":"waiting" }
# 2 — poll for the code (or use a webhook)
curl "https://api.eveses.com/v1/numbers/orders/act_9f2" \
-H "Authorization: Bearer $EVESES_API_KEY"
# → { "id":"act_9f2", "status":"received", "code":"483920" }Pricing
Pay-as-you-go per delivered code from your wallet — volume tiers lower the rate automatically. Failed activations are free.
See full pricing →Integrations
Fire webhooks into Zapier, Make or n8n, or call the REST API directly.
Official SDKs
OpenAPI & Postman
Import the OpenAPI spec or the Postman collection to generate a typed client in any language.
Open the spec →FAQ
What is an OTP API?›
How fast are codes delivered?›
Do I pay for failed verifications?›
Which services are supported?›
Related guides
Related APIs
Ship OTP API today
Create an account, grab an API key, and make your first call in minutes.
Get your API key