Get Trunk Group

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

Returns a single Trunk Group.

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:

trunks - List of Trunk Objects *** |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring
Api-Keystring

RESPONSES

status: OK

{"data":{"id":"465b059a-b4a2-4c8e-ab3b-33dc60e096ae","type":"trunk_groups","links":{"self":"https://api.didww.com/v3/trunk_groups/465b059a-b4a2-4c8e-ab3b-33dc60e096ae"},"attributes":{"created_at":"2017-06-25T14:56:31.513Z","name":"Common Group","capacity_limit":69},"relationships":{"trunks":{"links":{"self":"https://api.didww.com/v3/trunk_groups/465b059a-b4a2-4c8e-ab3b-33dc60e096ae/relationships/trunks","related":"https://api.didww.com/v3/trunk_groups/465b059a-b4a2-4c8e-ab3b-33dc60e096ae/trunks"},"data":[{"type":"trunks","id":"87133f4d-4a88-436b-b74b-b63e79318426"}]}},"meta":{"trunks_count":1}},"included":[{"id":"87133f4d-4a88-436b-b74b-b63e79318426","type":"trunks","attributes":{"priority":1,"capacity_limit":5,"weight":65535,"name":"Office Mobile","cli_format":"e164","cli_prefix":null,"description":null,"ringing_timeout":null,"configuration":{"type":"pstn_configurations","attributes":{"dst":"1xxxxxxxxx"}}},"relationships":{"trunk_group":{"links":{"self":"https://api.didww.com/v3/trunks/87133f4d-4a88-436b-b74b-b63e79318426/relationships/trunk_group","related":"https://api.didww.com/v3/trunks/87133f4d-4a88-436b-b74b-b63e79318426/trunk_group"}}}}]}