Get SIP trunk
get_sip_trunkRetrieve a SIP trunk's full configuration by trunk_id, including domain, status, direction, call limits, transport and recording settings; credentials are redacted.
Instructions
Return one SIP trunk's full configuration by trunk_id (GET /trunks/{id}): domain, status, direction, CPS and concurrent-call limits, transport and recording settings. SIP username and password are replaced by "[redacted]". A trunk_id that is not on this account returns the not_found error. To find trunk IDs use list_sip_trunks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trunk_id | Yes | Trunk UUID, as returned by list_sip_trunks or create_sip_trunk. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success; false when the result is an error (then error, message and retryable are set). | |
| trunk | No | One SIP trunk: id, name, domain, status, direction, CPS and concurrent-call limits, transport, recording settings; username and password are "[redacted]". |