voice-trunks
Get a SIP trunk gateway
Returns a single gateway by ID. Returns a 404 not_found_error if the trunk or the gateway does not exist in the workspace.
get/v1/voice/trunks/{trunk_id}/gateways/{gateway_id}
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/voice/trunks/{trunk_id}/gateways/{gateway_id}
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Headers
X-Workspace-Idstring
Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
X-Organization-Idstring
Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.
Response
Gateway with its current routing and connection settings.
Example response
{
"id": "vtg_01krdgeqcxet5s7t44vh8rt9mg",
"trunk_id": "spt_01krdgeqcxet5s7t44vh8rt9mg",
"sip_uri": "sip:pbx.example.com:5060",
"origination_format": "+{number}",
"destination_format": "+{number}",
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z"
}Changes
No recorded changes to this operation across all 2 revisions of this API.