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

Other Responses#

Code

Success

Description

404

No

Not Found

401

No

Unauthorized