Returns a list of your connections irrespective of type.
Successful response with a list of connections.
Array of objects (Connection) | |
object (PaginationMeta) |
Bad request
Unauthorized
Resource not found
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.Connection.list(page={"number":1,"size":20})
{- "data": [
- {
- "active": true,
- "anchorsite_override": "Latency",
- "connection_name": "string",
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "outbound_voice_profile_id": "1293384261075731499",
- "record_type": "ip_connection",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "webhook_api_version": "1",
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Retrieves the high-level details of an existing connection. To retrieve specific authentication information, use the endpoint for the specific connection type.
Successful response with details about a connection.
Unauthorized
Resource not found
Bad request
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.Connection.retrieve("id")
{- "data": {
- "active": true,
- "anchorsite_override": "Latency",
- "connection_name": "string",
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "outbound_voice_profile_id": "1293384261075731499",
- "record_type": "ip_connection",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "webhook_api_version": "1",
}
}