curl --request GET \
--url https://api.bland.ai/v1/sip \
--header 'authorization: <authorization>'{
"data": {
"inbound": {
"number": "+14150000000",
"id": "abc123",
"org_id": "org_456",
"direction": "inbound",
"sip_endpoint": null,
"created_at": "2026-03-09T12:00:00Z",
"updated_at": "2026-03-09T12:00:00Z",
"headers": null,
"options": {
"auth_mode": "ip"
}
},
"outbound": {
"number": "+14150000000",
"id": "def789",
"org_id": "org_456",
"direction": "outbound",
"sip_endpoint": "sip:trunk.provider.com",
"created_at": "2026-03-09T12:00:00Z",
"updated_at": "2026-03-09T12:00:00Z",
"headers": null,
"options": {
"port": 5061,
"transport": "tls",
"secure_media": true
}
}
},
"errors": null
}
Retrieve the current SIP configuration for a phone number.
curl --request GET \
--url https://api.bland.ai/v1/sip \
--header 'authorization: <authorization>'{
"data": {
"inbound": {
"number": "+14150000000",
"id": "abc123",
"org_id": "org_456",
"direction": "inbound",
"sip_endpoint": null,
"created_at": "2026-03-09T12:00:00Z",
"updated_at": "2026-03-09T12:00:00Z",
"headers": null,
"options": {
"auth_mode": "ip"
}
},
"outbound": {
"number": "+14150000000",
"id": "def789",
"org_id": "org_456",
"direction": "outbound",
"sip_endpoint": "sip:trunk.provider.com",
"created_at": "2026-03-09T12:00:00Z",
"updated_at": "2026-03-09T12:00:00Z",
"headers": null,
"options": {
"port": 5061,
"transport": "tls",
"secure_media": true
}
}
},
"errors": null
}
null if not configured. Includes number, id, org_id, direction, sip_endpoint, headers, options, created_at, and updated_at. Sensitive fields (credentials) are redacted.null if not configured. Same fields as inbound.curl -X GET 'https://api.bland.ai/v1/sip?phone_number=%2B14150000000' \
-H "Authorization: Bearer <token>"
{
"data": {
"inbound": {
"number": "+14150000000",
"id": "abc123",
"org_id": "org_456",
"direction": "inbound",
"sip_endpoint": null,
"created_at": "2026-03-09T12:00:00Z",
"updated_at": "2026-03-09T12:00:00Z",
"headers": null,
"options": {
"auth_mode": "ip"
}
},
"outbound": {
"number": "+14150000000",
"id": "def789",
"org_id": "org_456",
"direction": "outbound",
"sip_endpoint": "sip:trunk.provider.com",
"created_at": "2026-03-09T12:00:00Z",
"updated_at": "2026-03-09T12:00:00Z",
"headers": null,
"options": {
"port": 5061,
"transport": "tls",
"secure_media": true
}
}
},
"errors": null
}
Was this page helpful?