One-way messages (voice OTP)
Read a verification code, an alert or a notice out loud with just two fields — no options, no webhook.
Send only to and message. We call, read the text and hang up:
curl https://api.callhuman.es/v1/calls \
-H "Authorization: Bearer $CALLHUMAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+14155552671", "message": "Your verification code is 4 8 2 9. Again, 4 8 2 9."}'How it behaves
| One-way message | Call with options | |
|---|---|---|
| Fields needed | to, message | to, message, options |
| Attempts | 1 — no retries, so a code is never read late | 1 + 2 retries, 5 minutes apart |
| Voicemail or no answer | Ends at once as not_answered (free) | Retried, then not_answered (free) |
| Webhook | Optional (only if you want delivery confirmation) | Recommended |
| Counts towards your plan | Only if answered | Only if answered |
Writing codes that are easy to hear
- Separate the digits with spaces:
4 8 2 9, not4829(otherwise it may be read as “four thousand…”). - Repeat the code once: “Your code is 4 8 2 9. Again, 4 8 2 9.”
- Keep it short: say what the code is for in a few words. Long messages count towards your length limit.
- Use the
languageof the person:"language": "es"reads the code in Spanish.
Never ask for secrets
Calls must not ask people to say or type passwords, card numbers or codes. Only read codes out to the person who requested them. See the Terms.
Delivery confirmation
Add webhook_url if you want to know whether the person picked up. The webhook receives status: "answered" or status: "not_answered", with an empty option_path.