Rich Content
The Twilio Communications API provides endpoints for managing rich content and follows the same API schema used by channel providers such as Google and Meta. You can use the API to send rich, interactive messages across multiple channels.
Send content using an existing template
The API provides full support for existing Content Templates created using the Content Template Builder in the Twilio Console or with the Content API. To send a message that uses a template, include the templateโs Content SID (starts with HXXXXXX) and specify variable values for each recipient in the to field. Use ordinal numbers to map variables to the template slots.
Content template dynamic content fallback
The API supports dynamic content fallback for Content Templates. You can define multiple content types within a single template, and Twilio will deliver the message in the richest format supported by the recipientโs device. For example, a template might include both a Card type and a Text and Media type.
Rich Content without templates
You can also define rich content directly in your API request for cases where template approval isnโt required (e.g., RCS, SMS, or WhatsApp when a session is already open). This approach allows you to send rich, interactive messages without relying on pre-approved templates.
Sample request body:
Next steps
Learn about Scheduling to see how to select delivery times for each recipient.