Twilio

Twilio Routes v2

This is the public Twilio REST API.

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This is the public Twilio REST API.

Endpoints 6

RoutesV2PhoneNumber

  • GETFetch the Inbound Processing Region assigned to a phone number./v2/PhoneNumbers/:PhoneNumberFetch the Inbound Processing Region assigned to a phone number.
  • POSTAssign an Inbound Processing Region to a phone number./v2/PhoneNumbers/:PhoneNumberAssign an Inbound Processing Region to a phone number.

RoutesV2SipDomain

  • GETFetchSipDomain/v2/SipDomains/:SipDomain
  • POSTUpdateSipDomain/v2/SipDomains/:SipDomain

RoutesV2Trunk

  • GETFetch the Inbound Processing Region assigned to a SIP Trunk./v2/Trunks/:SipTrunkDomainFetch the Inbound Processing Region assigned to a SIP Trunk.
  • POSTAssign an Inbound Processing Region to a SIP Trunk/v2/Trunks/:SipTrunkDomainAssign an Inbound Processing Region to a SIP Trunk

API details

Base URL
https://routes.twilio.com
Authentication
HTTP Basic authentication (username and password)
Operations
6 operations on 3 pathsGET 3POST 3
Main resources
RoutesV2PhoneNumber 2RoutesV2SipDomain 2RoutesV2Trunk 2
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio Routes v2 in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio Routes v2 collection, without the publisher's secrets.
  3. Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Fetch the Inbound Processing Region assigned to a phone number.” (GET /v2/PhoneNumbers/:PhoneNumber), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio Routes v2?

This is the public Twilio REST API. It is listed under Communication and has 6 endpoints.

Who publishes the Twilio Routes v2?

It is listed from Twilio's public API description (an OpenAPI document), not published by Twilio on Swastik Codes. Anyone who controls twilio.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Twilio Routes v2?

Requests go to https://routes.twilio.com. Endpoint paths are added to this base URL.

How do I authenticate with the Twilio Routes v2?

With HTTP Basic authentication (username and password).

How many endpoints does the Twilio Routes v2 have?

6 operations on 3 paths (3 GET, 3 POST). The largest groups are RoutesV2PhoneNumber, RoutesV2SipDomain, RoutesV2Trunk.

Is forking the Twilio Routes v2 free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.