voice-trunks
Get a SIP trunk
Returns a single SIP trunk, including its Bird-assigned domain, its access control lists. Returns a 404 not_found_error if the trunk does not exist in the workspace.
get/v1/voice/trunks/{trunk_id}
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/voice/trunks/{trunk_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
SIP trunk with its current configuration and status.
Example response
{
"id": "spt_01krdgeqcxet5s7t44vh8rt9mg",
"workspace_id": "ws_01krdgeqcxet5s7t44vh8rt9mg",
"name": "Production PBX trunk",
"domain": "01kxp5bb9qf878642atrf0xy5r.trunk.eu1.sip.bird.com",
"ip_acls": [
{
"id": "sta_01krdgeqcxet5s7t44vh8rt9mg",
"trunk_id": "spt_01krdgeqcxet5s7t44vh8rt9mg",
"cidr": "203.0.113.0/24",
"description": "Office network"
}
],
"allowed_api_key_ids": [
"key_01krdgeqcxet5s7t44vh8rt9mg"
],
"ineligible_api_key_ids": [
"key_01krdgeqcxet5s7t44vh8rt9mg"
],
"digest_algorithms": [
"SHA-256",
"MD5"
],
"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.