Get Outbound Trunk#

Returns a single outbound trunk owned by the account.

Request#

HTTP Method: GET

URI Path: /v3/voice_out_trunks/{id}

Note

For all returned data attributes, see Outbound Trunk Object.

URI Query Parameters#

Name

Type

Is Required?

Description

id

string

Yes

Unique identifier of the outbound trunk.

include

string

No

Inclusion.

Includes#

Value

Description

dids

DID Object

emergency_dids

Emergency DID relationship data.

Object Relationships#

Value

Description

dids

DID Object

emergency_dids

Emergency DID relationship data.

Examples#

http

1GET /v3/voice_out_trunks/03813615-da15-4e3b-8e0a-3ea64b2585de 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_out_trunks/03813615-da15-4e3b-8e0a-3ea64b2585de -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": "03813615-da15-4e3b-8e0a-3ea64b2585de",
 7    "type": "voice_out_trunks",
 8    "attributes": {
 9      "name": "Outbound trunk Name",
10      "allowed_rtp_ips": [
11        "0.0.0.0/0"
12      ],
13      "authentication_method": {
14        "type": "credentials_and_ip",
15        "attributes": {
16          "allowed_sip_ips": [
17            "0.0.0.0/0"
18          ],
19          "tech_prefix": "string",
20          "username": "554******",
21          "password": "fqe******"
22        }
23      },
24      "allow_any_did_as_cli": true,
25      "status": "active",
26      "on_cli_mismatch_action": "send_original_cli",
27      "capacity_limit": 100,
28      "threshold_reached": false,
29      "threshold_amount": "10000.0",
30      "media_encryption_mode": "disabled",
31      "default_dst_action": "allow_all",
32      "dst_prefixes": [],
33      "emergency_enable_all": false,
34      "force_symmetric_rtp": false,
35      "rtp_ping": false,
36      "rtp_timeout": 30,
37      "callback_url": null,
38      "created_at": "2025-04-02T10:00:00.000Z",
39      "external_reference_id": null
40    },
41    "relationships": {
42      "dids": {
43        "links": {
44          "self": "https://api.didww.com/v3/voice_out_trunks/03813615-da15-4e3b-8e0a-3ea64b2585de/relationships/dids",
45          "related": "https://api.didww.com/v3/voice_out_trunks/03813615-da15-4e3b-8e0a-3ea64b2585de/dids"
46        }
47      },
48      "emergency_dids": {
49        "links": {
50          "self": "https://api.didww.com/v3/voice_out_trunks/03813615-da15-4e3b-8e0a-3ea64b2585de/relationships/emergency_dids",
51          "related": "https://api.didww.com/v3/voice_out_trunks/03813615-da15-4e3b-8e0a-3ea64b2585de/emergency_dids"
52        }
53      }
54    }
55  },
56  "meta": {
57    "api_version": "2026-04-16"
58  }
59}

Other Responses#

Code

Success

Description

404

No

Not Found

401

No

Unauthorized