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.
工作原理
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.
代码示例
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.
完整价格 →Integrations
把 Webhook 发到 Zapier、Make 或 n8n,也可以直接调用 REST API。