An AI voice agent can say a lot in a call and the caller will remember little of it, so the best follow-up is a short text with the one thing they need: a link, a time, a confirmation. You send it through a texting API the moment the call ends, if the caller agreed to be texted.
This guide is for developers adding that step to a voice agent.
What belongs in the text
Keep it to one job. Good follow-ups include:
- A booking confirmation with the date and time
- A link the caller asked for during the call
- A reference number for a support request
- A short summary of what the agent promised
Skip anything long. A text that runs over one segment costs more and reads like a wall. Our post on SMS character limits and segments shows where the line is.
Consent comes first
A call isn't consent to marketing texts. If the follow-up is a direct answer to something the caller asked for, like a confirmation of a booking they just made, it's a service message. If it pitches something, you need prior consent that covers texts. Have the agent ask in the call ("Want me to text you the details?") and store the yes with a timestamp. Never text a number the agent only dialed cold.
The API's consent_attested field records your promise that the person agreed. It isn't a per-contact record, so your system keeps the actual proof.
The send
One request does it. POST /v1/messages with the number in E.164 format, the body and consent_attested, plus an Idempotency-Key header. Use one key per call, so a retry after a timeout can't send the same confirmation twice. Docs: docs.tryready.com/api/messages.
If the request is refused because the number opted out or sits on your Ban list, don't retry it. Log it and move on.
Handle the reply
Callers will text back. "Yes," "reschedule" and "STOP" all show up. Set up an inbound webhook (receiving SMS with webhooks) so replies reach your agent's backend. Let a STOP end the texts. Ready honors STOP and clear phrases like "do not text me" and keeps the number blocked.
If you let a language model write the reply, put guardrails around it. See guardrails for LLM texting agents and classifying inbound replies.
Timing and quiet hours
A follow-up sent seconds after the call feels natural. One sent at 11 PM local time doesn't. Ready holds an API text only if the quiet-hours window opens within 24 hours, so if the call ends late, expect a hold and plan for your code to send it again when the window opens. A reply to someone who texted in the last 24 hours goes out at any hour.
A quick launch list
- The agent asks for texting permission and logs the answer.
- The text is one job and one segment where you can manage it.
- One idempotency key per call.
- Inbound replies reach your backend.
- STOP stops everything, across your voice and text paths.
We make Ready, and it has no native voice-agent connection, so the integration is your code and our API. The result is simple: the call carries the conversation, and the text carries the proof.