How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Twilio Trunks API

The Trunks API from Twilio — 12 operation(s) for trunks.

Twilio Trunks API is one of 115 APIs that Twilio publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include trunks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, and an AsyncAPI specification.

This API exposes 26 operations across 12 paths, and defines 26 schemas. It is described by OpenAPI 3.2.0, at version 1.52.0.

Requests are made against 2 base URLs: https://routes.twilio.com, https://trunking.twilio.com.

26 operations 12 paths 26 schemas 5 DELETE12 GET9 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.52.0
Servers
https://routes.twilio.com
https://trunking.twilio.com
Authentication
HTTP Basic
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Twilio Trunks API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (accountSid_authToken).

Paths & Operations 26

Across 12 paths, the API surfaces 26 operations — 5 DELETE, 12 GET, 9 POST. Each is listed below with its method, path, parameters, and response codes.

Trunks 26
POST
/v2/Trunks/{SipTrunkDomain}
Assign an Inbound Processing Region to a SIP Trunk
UpdateTrunks 1 param body → 200
GET
/v2/Trunks/{SipTrunkDomain}
Fetch the Inbound Processing Region assigned to a SIP Trunk.
FetchTrunks 1 param → 200
GET
/v1/Trunks/{TrunkSid}/CredentialLists/{Sid}
FetchCredentialList 2 params → 200
DELETE
/v1/Trunks/{TrunkSid}/CredentialLists/{Sid}
DeleteCredentialList 2 params → 204
POST
/v1/Trunks/{TrunkSid}/CredentialLists
CreateCredentialList 1 param body → 201
GET
/v1/Trunks/{TrunkSid}/CredentialLists
ListCredentialList 4 params → 200
GET
/v1/Trunks/{TrunkSid}/IpAccessControlLists/{Sid}
FetchIpAccessControlList 2 params → 200
DELETE
/v1/Trunks/{TrunkSid}/IpAccessControlLists/{Sid}
Remove an associated IP Access Control List from a Trunk
DeleteIpAccessControlList 2 params → 204
POST
/v1/Trunks/{TrunkSid}/IpAccessControlLists
Associate an IP Access Control List with a Trunk
CreateIpAccessControlList 1 param body → 201
GET
/v1/Trunks/{TrunkSid}/IpAccessControlLists
List all IP Access Control Lists for a Trunk
ListIpAccessControlList 4 params → 200
GET
/v1/Trunks/{TrunkSid}/OriginationUrls/{Sid}
FetchOriginationUrl 2 params → 200
DELETE
/v1/Trunks/{TrunkSid}/OriginationUrls/{Sid}
DeleteOriginationUrl 2 params → 204
POST
/v1/Trunks/{TrunkSid}/OriginationUrls/{Sid}
UpdateOriginationUrl 2 params body → 200
POST
/v1/Trunks/{TrunkSid}/OriginationUrls
CreateOriginationUrl 1 param body → 201
GET
/v1/Trunks/{TrunkSid}/OriginationUrls
ListOriginationUrl 4 params → 200
GET
/v1/Trunks/{TrunkSid}/PhoneNumbers/{Sid}
FetchPhoneNumber 2 params → 200
DELETE
/v1/Trunks/{TrunkSid}/PhoneNumbers/{Sid}
DeletePhoneNumber 2 params → 204
POST
/v1/Trunks/{TrunkSid}/PhoneNumbers
CreatePhoneNumber 1 param body → 201
GET
/v1/Trunks/{TrunkSid}/PhoneNumbers
ListPhoneNumber 4 params → 200
GET
/v1/Trunks/{TrunkSid}/Recording
FetchRecording 1 param → 200
POST
/v1/Trunks/{TrunkSid}/Recording
UpdateRecording 1 param body → 202
GET
/v1/Trunks/{Sid}
FetchTrunk 1 param → 200
DELETE
/v1/Trunks/{Sid}
DeleteTrunk 1 param → 204
POST
/v1/Trunks/{Sid}
UpdateTrunk 1 param body → 200
POST
/v1/Trunks
CreateTrunk body → 201
GET
/v1/Trunks
ListTrunk 3 params → 200

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are trunking.v1.trunk.phone_number (26 properties), trunking.v1.trunk (17 properties), trunking.v1.trunk.origination_url (11 properties), routes.v2.trunks (8 properties). Each schema is shown below with its type and property counts.

routes.v2.trunks
object
8 properties
UpdateTrunksRequest
object
2 properties
ListTrunkResponse
object
2 properties
ListPhoneNumberResponse
object
2 properties
trunking.v1.trunk.phone_number
object
26 properties
recording_enum_recording_trim
string
trunk_enum_transfer_caller_id
string
phone_number_enum_address_requirement
string
trunking.v1.trunk.recording
object
2 properties
ListIpAccessControlListResponse
object
2 properties
CreateTrunkRequest
object
8 properties
trunk_enum_transfer_setting
string
ListCredentialListResponse
object
2 properties
UpdateTrunkRequest
object
8 properties
trunking.v1.trunk
object
17 properties
CreateIpAccessControlListRequest
object
1 property 1 required
CreateCredentialListRequest
object
1 property 1 required
CreatePhoneNumberRequest
object
1 property 1 required
recording_enum_recording_mode
string
UpdateOriginationUrlRequest
object
5 properties
trunking.v1.trunk.origination_url
object
11 properties
trunking.v1.trunk.credential_list
object
7 properties
ListOriginationUrlResponse
object
2 properties
trunking.v1.trunk.ip_access_control_list
object
7 properties
CreateOriginationUrlRequest
object
5 properties 5 required
UpdateRecordingRequest
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

twilio-trunks-api-openapi.yml Raw ↑

Other APIs Twilio publishes across the network.

Twilio A2p API
Twilio Access Tokens API
Twilio Accounts API
Twilio Alerts API
Twilio Alpha Senders API
Twilio Apps API
Twilio Archives API
Twilio Assistants API
Twilio Attempts API
Twilio Auth Tokens API
Twilio AuthTokens API
Twilio ByocTrunks API
Where this information came from

This is an independent, third-party profile of Twilio Trunks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.