Fetch the Inbound Processing Region assigned to a SIP Trunk.

GET /v2/Trunks/{SipTrunkDomain}

Fetch the Inbound Processing Region assigned to a SIP Trunk.

Path parameters

  • SipTrunkDomain string Required

    The absolute URL of the SIP Trunk

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • sip_trunk_domain string | null

      The absolute URL of the SIP Trunk

    • url string(uri) | null

      The absolute URL of the resource.

    • sid string | null

      A 34 character string that uniquely identifies the Inbound Processing Region assignments for this SIP Trunk.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^QQ[0-9a-fA-F]{32}$.

    • account_sid string | null

      The unique SID identifier of the Account.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • friendly_name string | null

      A human readable description of the Inbound Processing Region assignments for this SIP Trunk, up to 64 characters.

    • voice_region string | null

      The Inbound Processing Region used for this SIP Trunk for voice.

    • date_created string(date-time) | null

      The date that this SIP Trunk was assigned an Inbound Processing Region, given in ISO 8601 format.

    • date_updated string(date-time) | null

      The date that the Inbound Processing Region was updated for this SIP Trunk, given in ISO 8601 format.

GET /v2/Trunks/{SipTrunkDomain}
curl \
 --request GET 'https://routes.twilio.com/v2/Trunks/{SipTrunkDomain}' \
 --user "username:password"
Response examples (200)
{
  "sid": "QQ00000000000000000000000000000000",
  "url": "https://routes.twilio.com/v2/Trunks/test.pstn.twilio.com",
  "account_sid": "AC00000000000000000000000000000000",
  "date_created": "2022-06-02T22:33:47Z",
  "date_updated": "2022-06-02T22:33:47Z",
  "voice_region": "string",
  "friendly_name": "string",
  "sip_trunk_domain": "test.pstn.twilio.com"
}