Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Getting Started with Twilio's Postman Collections


Learning how to use a 3rd party API can be a difficult task. Luckily, visual API development tools such as Postman(link takes you to an external page) make the learning journey much easier!

As part of Twilio's rollout of its OpenAPI specification(link takes you to an external page), we now provide a Postman collection(link takes you to an external page) which you can use to visually explore and interact with Twilio's API without writing code. In this article, we'll learn how to buy a phone number and send an SMS text message using Twilio's Postman Collection and a Postman Environment.


Prerequisites

prerequisites page anchor

Before you start, be sure to complete the following prerequisites. You can skip to Getting started with Twilio's Postman Collection if you've already completed these steps and know what Postman is.


Postman is a free and easy-to-use development tool for making API calls with a variety of helpful features.


Getting started with Twilio's Postman Collection

getting-started-with-twilios-postman-collection page anchor

A Postman Collection(link takes you to an external page) is a way to group related request templates together in a folder structure. This allows for easy organization of requests, and even better, Postman allows us to export collections to share with one another.

Instead of referencing the Twilio Docs and creating your own collection, you can visit the Twilio Postman Collection(link takes you to an external page) page where you will find collections maintained by the Twilio team.

Twilio Collections Landing Page.GET and POST requests to explore.

Setting Up Your Postman Environment

setting-up-your-postman-environment page anchor

An Environment in Postman is simply a group of related variables that you can reference when making calls, instead of needing to manually repeat their values throughout your calls.

Similar to collections, you may also create a fork of an Environment. To make the process of setting up your Environment as straightforward as possible, there is a Twilio Environment which you can fork to provide the variables for your forked collection.

To fork the Twilio Environment:

  1. On the left-hand side of the Postman web UI click the Environments tab, then select the Twilio Environment.

    Create environment fork button.Rate this page:

    Need some help?

    Terms of service

    Copyright © 2024 Twilio Inc.