Get Voice IN Trunk

GET https://{{host}}/v3/voice_in_trunks/:id

Returns trunks owned by the account. Several type of trunks can be retrieved: SIP, PSTN, H323, IAX2.

Request Params

KeyDatatypeRequiredDescription
includenullComma-separated values of include parameter.
The response will include a top-level object relationships with associated data under the appropriate resource key.
Details in Inclusion of Related Resources Article.

Allowed values:

trunk_group - Voice In Trunk Group Object


pop - POP Object *** |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring
Api-Keystring

RESPONSES

status: OK

{"data":{"id":"f9bf1d5c-bbd4-4739-9fd3-8ae162f2bc2b","type":"voice_in_trunks","attributes":{"priority":1,"capacity_limit":18,"weight":65535,"name":"Office H323","cli_format":"e164","cli_prefix":"+1","description":null,"ringing_timeout":null,"created_at":"2017-06-25T08:21:41.795Z","configuration":{"type":"h323_configurations","attributes":{"dst":"1xxxxxxxxx","host":"example.com","port":null,"codec_ids":[9,6]}}},"relationships":{"voice_in_trunk_group":{"links":{"self":"https://api.didww.com/v3/voice_in_trunks/f9bf1d5c-bbd4-4739-9fd3-8ae162f2bc2b/relationships/voice_in_trunk_group","related":"https://api.didww.com/v3/voice_in_trunks/f9bf1d5c-bbd4-4739-9fd3-8ae162f2bc2b/voice_in_trunk_group"}},"pop":{"links":{"self":"https://api.didww.com/v3/voice_in_trunks/f9bf1d5c-bbd4-4739-9fd3-8ae162f2bc2b/relationships/pop","related":"https://api.didww.com/v3/voice_in_trunks/f9bf1d5c-bbd4-4739-9fd3-8ae162f2bc2b/pop"}}}},"meta":{"api_version":"2021-12-15"}}