Developer use case

Missed call to WhatsApp and an AI call back

A customer rings while every line is busy or after hours: they get a WhatsApp at once, and an AI call back at a time that suits.

All use cases

Before you start

  • A live key with calls:write and messages:send.
  • An approved WhatsApp template for the follow-up.
  • API access is on Growth and above. Without it every request answers 402, and the key works again once the plan includes it.

How it works

A customer rings while every line is busy or after hours: they get a WhatsApp at once, and an AI call back at a time that suits.

  • Permission calls:write
  • Permission messages:send
  • Event call.no_answer
  • Billed calls or messages
  1. Subscribe your webhook to unanswered calls. An incoming one has direction inbound. call.no_answer

  2. From the webhook, send the follow-up WhatsApp with an approved template. Each message is billed, and an Idempotency-Key made from the call id is required, so a retried delivery never sends twice. POST /api/v1/messages/whatsapp

  3. No code? On Workflows, make one with the Call missed trigger and a Send WhatsApp step instead. Use one or the other, not both, or the customer gets two messages.

  4. Book an AI call back for later, from the same webhook. It waits for your calling hours. POST /api/v1/callbacks

Send the WhatsApp, then book the call back (curl)
curl -X POST "https://aicallstudio.com/api/v1/messages/whatsapp" \
  -H "Authorization: Bearer mtc_YOUR_KEY" \
  -H "Idempotency-Key: missed-wa-CALL_ID" \
  -H "Content-Type: application/json" \
  -d '{"contact_id": "CONTACT_ID", "template": "missed_call_followup", "values": {"1": "Asha"}}'

curl -X POST "https://aicallstudio.com/api/v1/callbacks" \
  -H "Authorization: Bearer mtc_YOUR_KEY" \
  -H "Idempotency-Key: missed-CALL_ID" \
  -H "Content-Type: application/json" \
  -d '{"contact_id": "CONTACT_ID", "agent_id": "AGENT_ID", "at": "2026-12-01T10:30:00+05:30"}'

Can I do this without code?

Yes. On Workflows, make one with the Call missed trigger and a Send WhatsApp step. Use the workflow or this recipe, not both, or the customer gets two messages.

Costs and what to watch

  • This sends a billed message and places a billed call. A call back waits for your calling hours.

Put AI Call Studio on your phone lines.

Book a 30-minute walkthrough, or call us right now: +91 922 222 1378