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
- In the Twilio Console, select Builder tools in the left sidebar.
- Select TwiML host & config, then TwiML bins.
- Select Create TwiML Bin.
- In Friendly Name, enter a descriptive name for this TwiML Bin.
- In the TwiML Content editor, enter your TwiML markup.
- Select Create.
- 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.