Get Voice OUT Trunk
GET https://{{host}}/v3/voice_out_trunks/:id
Returns a single Voice Out trunk owned by the account.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include | null | Comma-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:
dids - list of DID Object *** |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string | ||
Api-Key | string |
RESPONSES
status: OK
{"data":{"id":"457bf47d-446d-41cd-91c3-dfbda7bf0753","type":"voice_out_trunks","attributes":{"allowed_sip_ips":["0.0.0.0/0"],"allowed_rtp_ips":["0.0.0.0/0"],"allow_any_did_as_cli":true,"status":"active","on_cli_mismatch_action":"send_original_cli","name":"Outbound trunk 1","capacity_limit":100,"username":"671******","password":"3k0******","created_at":"2022-05-10T18:59:28.875Z","threshold_reached":false,"threshold_amount":"10000.0","media_encryption_mode":"disabled","default_dst_action":"allow_all","dst_prefixes":[],"force_symmetric_rtp":false,"rtp_ping":false,"callback_url":null},"relationships":{"dids":{"links":{"self":"https://api.didww.com/v3/voice_out_trunks/457bf47d-446d-41cd-91c3-dfbda7bf0753/relationships/dids","related":"https://api.didww.com/v3/voice_out_trunks/457bf47d-446d-41cd-91c3-dfbda7bf0753/dids"}}},"meta":{"spent_amount":"0.0"}},"meta":{"api_version":"2022-05-10"}}