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 TwiML Bin?

Objective

This article shows you how to create a TwiML Bin in the Twilio Console. TwiML Bins let you write TwiML that powers your voice and messaging applications without hosting it on your own server, so you can point a phone number or application at working TwiML without deploying any code.

 

Product

TwiML Bins

 

Environment

Twilio Console

 

Procedure

  1. In the Twilio Console, select Builder tools in the left sidebar.
  2. Select TwiML host & config, then TwiML bins.
  3. Select Create TwiML Bin.
  4. In Friendly Name, enter a descriptive name for this TwiML Bin.
  5. In the TwiML Content editor, enter your TwiML markup.
  6. Select Create.
  7. A confirmation appears and Twilio opens the new TwiML Bin's details page, where you can copy the URL to use in a webhook.

 

Additional Information

  • Both Friendly Name and TwiML Content are required. The friendly name can be up to 256 characters, and the TwiML content can be up to 65,535 characters.
  • If you select Cancel after typing anything, Twilio asks you to confirm before discarding your changes.
  • You can include the values of HTTP parameters passed in by the webhook request by writing your TwiML Bin as a template.

 

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

Have more questions? Submit a request
Powered by Zendesk