Agent-level template
Set apost_call_sms_template on the agent (with post_call_sms_enabled: true) via the Update agent endpoint. It then fires automatically after every answered call on that agent - both inbound and outbound - on numbers added through the dashboard.
The agent-level template applies only to numbers added through the dashboard. Numbers imported via the API never receive it - one agent often serves many separate businesses, and an agent-level text must never reach another business’s customers. For API-imported numbers, send post-call SMS yourself from the webhook (see below).
If
post_call_sms_enabled is true and no template is set, a default is used: Thanks for calling . We appreciate your time.
Your own, from the webhook
If one agent serves many separate businesses, a single agent-level template would send the same text to every business’s customers. In that case, send the post-call SMS yourself: receive the webhook after each call and send a message tailored to that business from its own number, using the Send SMS API. Each business gets its own wording, branding, and number, with full control over when a message goes out.When it sends
Post-call SMS sends once, shortly after the call ends, from the business’s own number on whichever carrier that number belongs to. It is skipped when the call reached voicemail, when no template is configured, or when the caller’s number is not available - so messages only go out when they make sense.Related
- In-call SMS - text the caller during the call
- Send SMS - send a message via the API, plus length, tracking, compliance and pricing
- SMS agent - what happens when the customer texts back
- Webhooks - the post-call event you can send your own SMS from