Twilio

Twilio Voice v1

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 32

VoiceV1ArchivedCall

  • DELETEDelete an archived call record from Bulk Export. Note: this does not also delete the record from the Voice API./v1/Archives/:Date/Calls/:SidDelete an archived call record from Bulk Export. Note: this does not also delete the record from the Voice API.

VoiceV1BulkCountryUpdate

  • POSTCreate a bulk update request to change voice dialing country permissions of one or more countries identified by the corresponding [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)/v1/DialingPermissions/BulkCountryUpdatesCreate a bulk update request to change voice dialing country permissions of one or more countries identified by the corresponding ISO country code

VoiceV1ByocTrunk

  • GETListByocTrunk/v1/ByocTrunks?PageSize=1&Page=0&PageToken=string
  • POSTCreateByocTrunk/v1/ByocTrunks
  • GETFetchByocTrunk/v1/ByocTrunks/:Sid
  • POSTUpdateByocTrunk/v1/ByocTrunks/:Sid
  • DELETEDeleteByocTrunk/v1/ByocTrunks/:Sid

VoiceV1ConnectionPolicy

  • GETListConnectionPolicy/v1/ConnectionPolicies?PageSize=1&Page=0&PageToken=string
  • POSTCreateConnectionPolicy/v1/ConnectionPolicies
  • GETFetchConnectionPolicy/v1/ConnectionPolicies/:Sid
  • POSTUpdateConnectionPolicy/v1/ConnectionPolicies/:Sid
  • DELETEDeleteConnectionPolicy/v1/ConnectionPolicies/:Sid

VoiceV1ConnectionPolicyTarget

  • GETListConnectionPolicyTarget/v1/ConnectionPolicies/:ConnectionPolicySid/Targets?PageSize=1&Page=0&PageToken=string
  • POSTCreateConnectionPolicyTarget/v1/ConnectionPolicies/:ConnectionPolicySid/Targets
  • GETFetchConnectionPolicyTarget/v1/ConnectionPolicies/:ConnectionPolicySid/Targets/:Sid
  • POSTUpdateConnectionPolicyTarget/v1/ConnectionPolicies/:ConnectionPolicySid/Targets/:Sid
  • DELETEDeleteConnectionPolicyTarget/v1/ConnectionPolicies/:ConnectionPolicySid/Targets/:Sid

VoiceV1Country

  • GETRetrieve voice dialing country permissions identified by the given ISO country code/v1/DialingPermissions/Countries/:IsoCodeRetrieve voice dialing country permissions identified by the given ISO country code
  • GETRetrieve all voice dialing country permissions for this account/v1/DialingPermissions/Countries?IsoCode=US&Continent=string&CountryCode=string&LowRiskNumbersEnabled=true&HighRiskSpecialNumbersEnabled=true&HighRiskTollfraudNumbersEnabled=true&PageSize=1&Page=0&PageToken=stringRetrieve all voice dialing country permissions for this account

VoiceV1HighriskSpecialPrefix

  • GETFetch the high-risk special services prefixes from the country resource corresponding to the [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)/v1/DialingPermissions/Countries/:IsoCode/HighRiskSpecialPrefixes?PageSize=1&Page=0&PageToken=stringFetch the high-risk special services prefixes from the country resource corresponding to the ISO country code

VoiceV1IpRecord

  • GETListIpRecord/v1/IpRecords?PageSize=1&Page=0&PageToken=string
  • POSTCreateIpRecord/v1/IpRecords
  • GETFetchIpRecord/v1/IpRecords/:Sid
  • POSTUpdateIpRecord/v1/IpRecords/:Sid
  • DELETEDeleteIpRecord/v1/IpRecords/:Sid

VoiceV1Settings

  • GETRetrieve voice dialing permissions inheritance for the sub-account/v1/SettingsRetrieve voice dialing permissions inheritance for the sub-account
  • POSTUpdate voice dialing permissions inheritance for the sub-account/v1/SettingsUpdate voice dialing permissions inheritance for the sub-account

VoiceV1SourceIpMapping

  • GETListSourceIpMapping/v1/SourceIpMappings?PageSize=1&Page=0&PageToken=string
  • POSTCreateSourceIpMapping/v1/SourceIpMappings
  • GETFetchSourceIpMapping/v1/SourceIpMappings/:Sid
  • POSTUpdateSourceIpMapping/v1/SourceIpMappings/:Sid
  • DELETEDeleteSourceIpMapping/v1/SourceIpMappings/:Sid

API details

Base URL
https://voice.twilio.com
Authentication
HTTP Basic authentication (username and password)
Operations
32 operations on 17 pathsGET 14POST 12DELETE 6
Main resources
VoiceV1ByocTrunk 5VoiceV1ConnectionPolicy 5VoiceV1ConnectionPolicyTarget 5VoiceV1IpRecord 5VoiceV1SourceIpMapping 5VoiceV1Country 2VoiceV1Settings 2VoiceV1ArchivedCall 1VoiceV1BulkCountryUpdate 1VoiceV1HighriskSpecialPrefix 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio Voice v1 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 Voice v1 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 “Delete an archived call record from Bulk Export. Note: this does not also delete the record from the Voice API.” (DELETE /v1/Archives/:Date/Calls/:Sid), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio Voice v1?

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

Who publishes the Twilio Voice v1?

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 Voice v1?

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

How do I authenticate with the Twilio Voice v1?

With HTTP Basic authentication (username and password).

How many endpoints does the Twilio Voice v1 have?

32 operations on 17 paths (14 GET, 12 POST, 6 DELETE). The largest groups are VoiceV1ByocTrunk, VoiceV1ConnectionPolicy, VoiceV1ConnectionPolicyTarget, VoiceV1IpRecord.

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