purpose and
then holds a normal conversation — same knowledge, same instructions, same
memory of that customer as every other channel.
Body
string
required
The customer’s number. E.164, with or without the
+; spaces are fine.Normalised the same way the contact importer does, so +91 98765 43210 and
919876543210 reach the same customer rather than making a second one.string
required
Why you are calling, in your own words. This is spoken aloud as the first
thing the customer hears.Maximum 300 characters. Write it as you would say it: “I’m calling from
Sunrise Clinic about your appointment tomorrow at four”, not “appointment
reminder”.
string
Which agent is calling — its name or id.Only needed when more than one agent in your workspace answers the phone. With
one, it is chosen for you; with several and no
agent, the request is refused
rather than guessing which of your businesses is ringing the customer.Who you may call
Two rules, both enforced, and both stricter than the messaging API.They must already be a contact
They must already be a contact
A number that is not in your contacts is refused. There is no way to dial an
arbitrary number through this API.Import them, or let them reach you once on any channel first.
They must not have opted out
They must not have opted out
A customer recorded as having withdrawn consent is refused, whichever
channel they said it on. Somebody who told the agent to stop on WhatsApp has
not agreed to be telephoned instead.A contact nobody has ever asked is allowed — that is the normal state
for someone who booked an appointment two minutes ago and would be surprised
not to be reminded.
Responses
object
The call is being placed.
status is ringing — the customer has not
answered yet.id is the call’s reference. It appears in your inbox against that customer.object
A missing
to or purpose, a number that could not be read, a purpose over
300 characters, or several phone agents and no agent named.object
Not a contact, or the customer has opted out.
object
No agent in the workspace answers the phone — Voice is off, or no number has
been added.Also returned when the only number attached is one you brought yourself and
you have not yet added that carrier account’s credentials. Outgoing calls go
out through the account the number belongs to, and for your own number that
account is yours rather than ours — so the call is refused here rather than
failing at your provider one customer at a time. Answering on that number is
unaffected. Add the Auth ID and Auth token on the Phone Numbers page and
this call works from your own number too.
object
The same
Idempotency-Key is still being processed. Retry in a moment.object
Too many calls a minute, or the workspace already has as many calls running as
it is allowed. Both carry
Retry-After.object
Your phone provider would not place the call — a bad number, an unverified
destination, or no balance. The call is recorded as failed rather than left
ringing.
Not calling twice
Send anIdempotency-Key.
id — alongside a header:
idempotencyKey works too; the header wins if you send both.
Derive it from the reason for the call — the order, the appointment, the ticket
— and never from a random value, or your retry produces a new key and a new
call.
The replay is the first reply, so
status still reads ringing even if
that call has since been answered or ended. Use the id to find out where it
actually got to; it is the same call either way.502 or a 503 can be retried with the same one.
What happens after
The call appears in your inbox as its own conversation against that customer, with its transcript, beside their chats. Nothing else is needed to see how it went. If nobody answers, it is recorded as missed. You are not told separately — poll your inbox or read it later; there is no callback for the outcome yet.Worth doing
Say the business name first
“I’m calling from Sunrise Clinic…” — a customer who cannot place the number
hangs up before your agent gets to the point.
Call about something they did
Reminders, confirmations, “your part is in”. These are answered. Calls about
things they did not ask for are how a number gets blocked.
Ring at a sane hour
Nothing here checks the time. A reminder at nine at night undoes whatever
goodwill the reminder was for.
Try it on your own number first
Hear your own
purpose read aloud before a customer does. It almost always
needs shortening.Calls placed this way count toward the same concurrency ceiling as calls
people make to you. A batch of reminders can fill it, and further calls are
refused with
429 until some finish — so pace a batch rather than firing it
all at once.