Returns a list of your connections.
Connection response
Unauthorized
Unprocessable entity. Can be caused by improper use of filters or modes.
[- {
- "id": "string",
- "connection_name": "string",
- "tech_prefix": "",
- "authentication_type": 1,
- "active": true,
- "dnis_number_format": 1,
- "timeout_1xx": "",
- "timeout_2xx": "",
- "forward_only": false,
- "ani_override_type": "always",
- "ani_override": "",
- "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": [
- "G722",
- "G711U",
- "G711A",
- "G729",
- "OPUS",
- "H.264"
], - "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",
- "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,
- "rtcp_port": "rtcp-mux",
- "dtmf_type": "RFC 2833",
- "outbound_localization": null,
- "inbound_channel_limit": null,
- "outbound_channel_limit": null,
- "onnet_t38_passthrough_enabled": false,
- "sip_region": "US",
- "sip_uri_calling_preference": "disabled",
- "sip_subdomain": "string",
- "sip_subdomain_receive_settings": "only_my_connections",
- "webhook_api_version": "1"
}
]
Creates a new connection object.
Connection to add
Connection created response
Bad request
Unauthorized
{- "connection_name": "string",
- "active": true,
- "dnis_number_format": 1,
- "timeout_1xx": "3",
- "timeout_2xx": "90",
- "ani_override_type": "always",
- "ani_override": "",
- "sip_compact_headers_enabled": true,
- "transport_protocol": "UDP",
- "third_party_control_enabled": false,
- "privacy_zone_enabled": false,
- "codecs": [
- "G722",
- "G711U",
- "G711A",
- "G729",
- "OPUS",
- "H.264"
], - "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",
- "instant_ringback_enabled": true,
- "t38_reinvite_source": "telnyx",
- "ani_number_format": "+E.164",
- "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": 5,
- "rtcp_port": "rtcp-mux",
- "dtmf_type": "RFC 2833",
- "outbound_localization": null,
- "inbound_channel_limit": null,
- "outbound_channel_limit": null,
- "onnet_t38_passthrough_enabled": false,
- "sip_region": "US",
- "sip_uri_calling_preference": "disabled",
- "sip_subdomain": "string",
- "sip_subdomain_receive_settings": "only_my_connections",
- "outbound_call_parking_enabled": false,
- "webhook_api_version": "1"
}
{- "id": "string",
- "connection_name": "string",
- "tech_prefix": "",
- "authentication_type": 1,
- "active": true,
- "dnis_number_format": 1,
- "timeout_1xx": "",
- "timeout_2xx": "",
- "forward_only": false,
- "ani_override_type": "always",
- "ani_override": "",
- "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": [
- "G722",
- "G711U",
- "G711A",
- "G729",
- "OPUS",
- "H.264"
], - "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",
- "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,
- "rtcp_port": "rtcp-mux",
- "dtmf_type": "RFC 2833",
- "outbound_localization": null,
- "inbound_channel_limit": null,
- "outbound_channel_limit": null,
- "onnet_t38_passthrough_enabled": false,
- "sip_region": "US",
- "sip_uri_calling_preference": "disabled",
- "sip_subdomain": "string",
- "sip_subdomain_receive_settings": "only_my_connections",
- "webhook_api_version": "1"
}
Retrieves the details of an existing connection.
success
Bad request
Unauthorized
Resource not found
{- "id": "string",
- "connection_name": "string",
- "tech_prefix": "",
- "authentication_type": 1,
- "active": true,
- "dnis_number_format": 1,
- "timeout_1xx": "",
- "timeout_2xx": "",
- "forward_only": false,
- "ani_override_type": "always",
- "ani_override": "",
- "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": [
- "G722",
- "G711U",
- "G711A",
- "G729",
- "OPUS",
- "H.264"
], - "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",
- "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,
- "rtcp_port": "rtcp-mux",
- "dtmf_type": "RFC 2833",
- "outbound_localization": null,
- "inbound_channel_limit": null,
- "outbound_channel_limit": null,
- "onnet_t38_passthrough_enabled": false,
- "sip_region": "US",
- "sip_uri_calling_preference": "disabled",
- "sip_subdomain": "string",
- "sip_subdomain_receive_settings": "only_my_connections",
- "webhook_api_version": "1"
}
Updates the specified connection with the values of the parameters passed. Any parameters not included in the request will be left unchanged.
Updated connection object
Connection updated response
Bad request
Unauthorized
{- "connection_name": "string",
- "active": true,
- "dnis_number_format": 1,
- "timeout_1xx": "3",
- "timeout_2xx": "90",
- "ani_override_type": "always",
- "ani_override": "",
- "sip_compact_headers_enabled": true,
- "transport_protocol": "UDP",
- "third_party_control_enabled": false,
- "privacy_zone_enabled": false,
- "codecs": [
- "G722",
- "G711U",
- "G711A",
- "G729",
- "OPUS",
- "H.264"
], - "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",
- "instant_ringback_enabled": true,
- "t38_reinvite_source": "telnyx",
- "ani_number_format": "+E.164",
- "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": 5,
- "rtcp_port": "rtcp-mux",
- "dtmf_type": "RFC 2833",
- "outbound_localization": null,
- "inbound_channel_limit": null,
- "outbound_channel_limit": null,
- "onnet_t38_passthrough_enabled": false,
- "sip_region": "US",
- "sip_uri_calling_preference": "disabled",
- "sip_subdomain": "string",
- "sip_subdomain_receive_settings": "only_my_connections",
- "outbound_call_parking_enabled": false,
- "webhook_api_version": "1"
}
{- "id": "string",
- "connection_name": "string",
- "tech_prefix": "",
- "authentication_type": 1,
- "active": true,
- "dnis_number_format": 1,
- "timeout_1xx": "",
- "timeout_2xx": "",
- "forward_only": false,
- "ani_override_type": "always",
- "ani_override": "",
- "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": [
- "G722",
- "G711U",
- "G711A",
- "G729",
- "OPUS",
- "H.264"
], - "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",
- "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,
- "rtcp_port": "rtcp-mux",
- "dtmf_type": "RFC 2833",
- "outbound_localization": null,
- "inbound_channel_limit": null,
- "outbound_channel_limit": null,
- "onnet_t38_passthrough_enabled": false,
- "sip_region": "US",
- "sip_uri_calling_preference": "disabled",
- "sip_subdomain": "string",
- "sip_subdomain_receive_settings": "only_my_connections",
- "webhook_api_version": "1"
}