Quickstart
Verify your first phone number in about five minutes.
API reference
Every endpoint, with a playground to try requests.
Pick an API
Verify
Start a verification and check the code. OTPBay generates the code, picks the channel and falls back to SMS.
SMS
Send any text message from an approved alphanumeric sender ID.
Telegram
Send a code straight to a Telegram account, for less than an SMS.
How it fits together
- Create a project in the dashboard and copy an API key.
- Call the API from your backend with
Authorization: Bearer <key>. - Follow each message with its
sid, or receive webhooks when its status changes. - Watch costs, refunds and delivery in the dashboard’s Analytics and Ledger pages.
Learn more
Authentication
API keys and the IP allowlist.
Webhooks
Get status updates pushed to your server.
Errors
Status codes and every error code the API returns.
Billing
Prices, charges and automatic refunds.