Get All Bridges
Telephony & Bridges
Get All Bridges
Retrieve a list of all telephony bridges in the system
GET
Get All Bridges
Documentation Index
Fetch the complete documentation index at: https://docs.unpod.dev/llms.txt
Use this file to discover all available pages before exploring further.
Get All Bridges
Retrieve a list of all telephony bridges in your organization, including their IDs, names, slugs, associated providers, and linked phone numbers for monitoring and call-routing management.Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | API Key format: Token <token> |
| Org-Handle | string | Yes | Organization domain handle |
You can get the
Org-Handle by hitting the Get All Organizations API. The domain_handle field in the response is your Org-Handle.Response Fields
| Field | Type | Description |
|---|---|---|
| count | integer | Total number of bridges |
| status_code | integer | HTTP status code |
| message | string | Response message |
| data | array | Array of bridge objects |
Bridge Object Fields
| Field | Type | Description |
|---|---|---|
| id | integer | Bridge unique identifier |
| name | string | Bridge display name |
| slug | string | Unique bridge slug identifier |
| provider | string | Connected provider slug (null if none) |
| numbers | array | List of phone numbers assigned to the bridge |
Number Object Fields
| Field | Type | Description |
|---|---|---|
| id | integer | Number assignment ID |
| number | string | Phone number (E.164 format) |
| status | string | Number status: active, inactive |
Common Error Codes
| Status Code | Description |
|---|---|
| 200 | Success - Bridges fetched successfully |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Invalid organization handle |
| 500 | Internal Server Error - Server-side error |
Code Examples
Best Practices
- Bridge Slug: Note each bridge’s
slug— it is used as a path parameter in other bridge endpoints - Provider Check: Verify bridges have a connected provider before routing calls through them
- Number Assignment: Bridges without numbers in the
numbers[]array cannot receive inbound calls - Error Handling: Always handle potential errors and edge cases
- Security: Keep API tokens secure and rotate them regularly