SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I create a template that sends an image or file?

Objective

This article shows you how to build a Media content template so your message can include an image, audio clip, document, or video alongside a text body.

 

Product

Content Template Builder

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Your user needs the content templates create permission for the account.

 

Procedure

  1. In the Twilio Console, select Communications in the left sidebar.
  2. Select Messaging, then Templates.
  3. Select Create new template.
  4. Enter a Template name and select a Template language.
  5. Under Content type, select Media, then select Continue.
  6. In the Media section, enter the publicly reachable address of your file in Media URL.
  7. Enter the accompanying message text in Body.
  8. Select Save.

 

Additional Information

  • Media URL supports images, audio, documents, and video, and accepts up to 1600 characters.
  • The address must be a valid URL with no white space. You can include at most one variable in the address, and it cannot be placed in the host name portion.
  • Media templates are eligible for SMS, MMS, RCS, Facebook Messenger, Apple Messages for Business, and WhatsApp. WhatsApp business-initiated sends require approval first.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk