Twilio

Twilio Pricing 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

PricingV2Country

  • GETListTrunkingCountry/v2/Trunking/Countries?PageSize=1&Page=0&PageToken=string
  • GETFetch a specific Country./v2/Trunking/Countries/:IsoCountryFetch a specific Country.
  • GETListVoiceCountry/v2/Voice/Countries?PageSize=1&Page=0&PageToken=string
  • GETFetch a specific Country./v2/Voice/Countries/:IsoCountryFetch a specific Country.

PricingV2Number

  • GETFetch pricing information for a specific destination and, optionally, origination phone number./v2/Trunking/Numbers/:DestinationNumber?OriginationNumber=+15105556789Fetch pricing information for a specific destination and, optionally, origination phone number.
  • GETFetch pricing information for a specific destination and, optionally, origination phone number./v2/Voice/Numbers/:DestinationNumber?OriginationNumber=+18001234567Fetch pricing information for a specific destination and, optionally, origination phone number.

API details

Base URL
https://pricing.twilio.com
Authentication
HTTP Basic authentication (username and password)
Operations
6 operations on 7 pathsGET 6
Main resources
PricingV2Country 4PricingV2Number 2
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio Pricing 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 Pricing 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 “ListTrunkingCountry” (GET /v2/Trunking/Countries?PageSize=1&Page=0&PageToken=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio Pricing v2?

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

Who publishes the Twilio Pricing 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 Pricing v2?

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

How do I authenticate with the Twilio Pricing v2?

With HTTP Basic authentication (username and password).

How many endpoints does the Twilio Pricing v2 have?

6 operations on 7 paths (6 GET). The largest groups are PricingV2Country, PricingV2Number.

Is forking the Twilio Pricing 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.