Voice calls

Voice OTP & broadcast: When a text is not enough, call.

Read a code aloud for users who cannot receive SMS, or broadcast a recorded or text-to-speech message to a whole list, with keypad responses.

Talk to us. Tell us what you need from voice calls and we will reply within one business day.
Voice OTP & broadcast: Codes read aloud, and recorded voice broadcasts.

How it works

Get started with Voice calls in three steps

1

Talk to us

Tell us the calls you want to make: OTPs, confirmations or broadcasts.

2

Record or type

Upload a recording or write text that is read out in the language you choose.

3

Call and collect

Calls go out and keypad responses come back to you in reports and webhooks.

Features

What you get with Voice calls

Voice OTP

The code is read out clearly, twice, in the language you choose.

Voice broadcast

Send a recorded message or text-to-speech to thousands of numbers.

Keypad input

"Press 1 to confirm, 2 to cancel": responses come back to you.

Call reports

Answered, missed and duration for every call.

TTS

in Indian languages

DTMF

keypad responses

Reports

for every call

1

wallet for every channel

The voice OTP API, in detail

Voice OTP verification delivers a one-time password as a phone call instead of a text. The phone rings, an automated voice reads the code out slowly, twice, and the user types it into your app. Talk to us about voice OTP for your account: it is designed around the same send and verify API you use for SMS, so it is one field in your request rather than a new integration.

What a voice OTP call is

It is the same short, single-use code you would send by SMS, spoken by a text-to-speech voice in a short automated call. The code is generated, stored and checked by DiOTP exactly as it is for SMS: it expires after five minutes, allows five wrong attempts and can only be verified once. The only thing that changes is how the code reaches the person.

Because the call is placed to the number itself, OTP verification by call proves the same thing as an SMS OTP: the person holding that phone right now asked for the code. Some people know the idea as a voice SMS, a text read aloud by a machine; here the only text is the code.

When to use voice instead of SMS

  • The number is a landline, which cannot receive SMS at all.
  • The user is on a basic feature phone, or finds reading a six-digit code from a text difficult.
  • An SMS has not arrived after the resend timer, and a call is a better second attempt than another text.
  • The user has a weak data signal but can still take a call, for example while travelling.
  • Accessibility: users with low vision can hear the code rather than read it.

For most users SMS remains the default, because it arrives quietly, while an OTP voice call rings and asks for their attention. The usual pattern is to offer "Call me instead" next to the resend link once the SMS timer has run out.

How an OTP verification call works

  1. Your server calls POST /v1/otp/send with the mobile number and "channel": "voice". DiOTP returns a request_id straight away.
  2. DiOTP generates a random code and places an automated call to the number.
  3. When the OTP verification call is answered, the code is read out digit by digit, then repeated, so the user can write it down or type it as they listen.
  4. The user enters the code in your app, and your server calls POST /v1/otp/verify with the request_id and the code.
  5. Call outcomes appear in your message log and, if you have added a webhook, are posted to your system as events.

If the call is not answered, nothing is verified. The user can ask for a new code, and the same resend cooldown and per-number limits apply as on SMS.

SMS to voice OTP fallback

The most common way to use a spoken code is as a fallback, not a first choice. SMS goes first because it is quiet and reaches the user without a ring. If the network reports that the text could not be delivered, or the user is still waiting when the resend timer runs out, the same code is read out in a call instead. The user does not have to start over, and you do not have to build a second flow.

  1. Your app sends the OTP by SMS as usual and shows the resend timer.
  2. The SMS fails, or the timer ends without the code being verified.
  3. A voice call is placed to the same number, reading out the same code, so the request_id your server holds is still the one to verify.
  4. The user types the code, and your server verifies it exactly as it would after an SMS.

You choose whether the fallback happens automatically after a failed SMS or only when the user taps "Call me instead". Either way it counts against the same per-number limits, so a fallback can never become a way to flood one phone with calls.

One send endpoint, no separate call OTP API

There is no separate voice OTP call API gateway with its own keys, formats and error codes to learn. Voice uses the send endpoint you already know, with the channel set to voice. Talk to us before you build it in. The request looks like this, and verifying the code is the same call you make for SMS:

curl -X POST https://api-diotp.diorbit.com/v1/otp/send \
  -H "Authorization: Bearer $DIOTP_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 5f2b8c1e-login-9876543210" \
  -d '{
    "to": "9876543210",
    "country_code": 91,
    "channel": "voice",
    "purpose": "login"
  }'
curl -X POST https://api-diotp.diorbit.com/v1/otp/verify \
  -H "Authorization: Bearer $DIOTP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "code": "482913"
  }'

Send endpoint reference Verify endpoint reference Webhook events

Voice OTP service pricing

Each call will be charged from the same prepaid wallet as SMS, with no setup fee and no monthly fee. The per-call rate is quoted for your account; ask us for it. For reference, OTP SMS costs from ₹0.26 per OTP on prepaid plans, before 18% GST.

OTP SMS pricing Talk to us about voice OTP

In your dashboard

A call that gets the message across

Read codes aloud for users who cannot receive SMS, or confirm orders and remind customers with a call they can answer with a key press.

  • Codes read twice, clearly
  • Keypad responses captured
  • Answered, missed and duration in reports
Talk to us

Use it for

Where businesses use it most

Each of these suits a call better than a text, because the phone cannot show an SMS or a spoken message is harder to miss.

  • OTP for landlines and feature phones
  • Order confirmation calls
  • Payment reminders
  • Announcements

Industries

Voice calls across industries

E-commerce & D2C: Fewer fake orders, fewer "where is my parcel" calls.

E-commerce & D2C

Confirm cash-on-delivery orders with an OTP before you ship, and keep buyers posted from checkout to doorstep.

Get started
Clinics, labs & hospitals: Fewer missed appointments.

Clinics, labs & hospitals

Confirmations, reminders and report-ready alerts that patients actually read, in their own language.

Get started
Logistics & delivery: Deliveries handed to the right person.

Logistics & delivery

Delivery OTPs at the door, live status updates on the way, and pickup alerts for your riders.

Get started

Voice calls: FAQs

Users on landlines or basic feature phones, users who find a spoken code easier than a text, and anyone whose SMS has not arrived after the resend timer.

Start building your customer messaging with DiOTP

Free test credits on sign-up, API keys in a minute, and a team that picks up the phone.