Skip to contentSkip to navigationSkip to topbar

Test TwiML Bins


The Getting Started guide talked about how you can connect your TwiML Bin to your phone number, so that you can call it and test its behavior.

However, as you are developing your TwiML Bin, you might not want to go through the entire user flow every time you make a change. Instead, there are several other ways that you can test the TwiML that gets returned from your TwiML Bins:

  • Test using twilio-cli. Trigger your TwiML Bin from the command-line and inspect the TwiML it responds with.
  • Test using Postman. Trigger your TwiML Bin from an HTTP client like Postman.
  • Programmatic testing. Trigger your TwiML Bin from code, and compare the response to your expected response.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.