Get Inbound Trunk Group#

Returns a single inbound trunk group.

Request#

HTTP Method: GET

URI Path: /v3/voice_in_trunk_groups/

Note

For all returned data attributes, see Trunk Group Object.

URI Query Parameters#

Name

Type

Is Required?

Description

id

string

Yes

Unique ID identifier of the Trunk Group.

include

string

No

Inclusion.

Includes#

Value

Description

voice_in_trunks

List of Trunk Objects

Examples#

http

1GET /v3/voice_in_trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664 HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]

curl

1curl -i -X GET https://api.didww.com/v3/voice_in_trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664 -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5  "data": {
 6    "id": "418fe352-04b8-4e03-a7ce-cb57efd8c664",
 7    "type": "voice_in_trunk_groups",
 8    "links": {
 9      "self": "https://api.didww.com/v3/voice_in_trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664"
10    },
11    "attributes": {
12      "created_at": "2017-06-25T14:56:31.513Z",
13      "external_reference_id": null,
14      "name": "Common Group",
15      "capacity_limit": 69
16    },
17    "relationships": {
18      "voice_in_trunks": {
19        "links": {
20          "self": "https://api.didww.com/v3/voice_in_trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664/relationships/voice_in_trunks",
21          "related": "https://api.didww.com/v3/voice_in_trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664/voice_in_trunks"
22        }
23      }
24    },
25    "meta": {
26      "trunks_count": 1
27    }
28  }
29}

Other Responses#

Code

Success

Description

404

No

Not Found

401

No

Unauthorized