Get Trunk Groups
Description
Returns a collection of Trunk Groups.
Request
HTTP Method: GET
URI Path: /v3/trunk_groups
URI Query Parameters:
Name |
Type |
Is Required? |
Description |
---|---|---|---|
include |
|
Optional |
|
sort |
|
Optional |
Includes:
Value |
Description |
---|---|
trunks |
Sorting:
Value |
Sorts by: |
---|---|
name |
The |
created_at |
The |
capacity_limit |
The |
Fielding:
Value |
Returns: |
---|---|
name |
The |
created_at |
The |
capacity_limit |
The |
Examples
GET /v3/trunk_groups HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
curl -i -X GET https://api.didww.com/v3/trunk_groups -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
GET /v3/trunk_groups HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
GET /v3/trunk_groups?include=trunks HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
curl -i -X GET 'https://api.didww.com/v3/trunk_groups?include=trunks' -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
GET /v3/trunk_groups?include=trunks HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
Other Responses
Code |
Success |
Description |
---|---|---|
401 |
No |