Skip to main content

Retrieve a connection

GET 
/security/connections/:id

Retrieves the details of an existing connection.

Request

Path Parameters

    id stringrequired

    Connection ID

Responses

200: success

400: Bad request

401: Unauthorized

404: Resource not found

Request samples


curl -L 'https://api.telnyx.com/security/connections/:id' \
-H 'Accept: application/json'

Response samples


{
"id": "string",
"connection_name": "string",
"tech_prefix": "string",
"authentication_type": 1,
"active": true,
"dnis_number_format": 1,
"timeout_1xx": "string",
"timeout_2xx": "string",
"forward_only": false,
"ani_override_type": "always",
"ani_override": "string",
"registration_status": 0,
"last_registered_ip": "string",
"registration_status_updated_at": "string",
"sip_compact_headers_enabled": true,
"transport_protocol": "UDP",
"third_party_control_enabled": false,
"privacy_zone_enabled": false,
"codecs": [
"string"
],
"prack_enabled": false,
"default_routing_method": "sequential",
"default_primary_authorized_ip_id": 0,
"default_secondary_authorized_ip_id": 0,
"default_tertiary_authorized_ip_id": 0,
"anchorsite_override": "Latency",
"encrypted_media": "SRTP",
"call_failure_check_enabled": false,
"instant_ringback_enabled": true,
"t38_reinvite_source": "telnyx",
"ani_number_format": "E.164-national",
"isup_headers_enabled": true,
"encode_contact_header_enabled": true,
"inbound_generate_ringback_tone": true,
"outbound_generate_ringback_tone": true,
"rtcp_report_enabled": true,
"rtcp_report_frequency_seconds": 10,
"dtmf_type": "RFC 2833",
"outbound_localization": "string",
"inbound_channel_limit": 0,
"outbound_channel_limit": 0,
"onnet_t38_passthrough_enabled": 0,
"sip_region": "US",
"sip_uri_calling_preference": "disabled",
"sip_subdomain": "string",
"sip_subdomain_receive_settings": "only_my_connections",
"webhook_api_version": "1"
}