Skip to main content

Update XML Translator settings for a connection

PUT 
/security/connections/:connection_id/call_control_xml_authentication

BETA: Updates the connection XML Translator settings with the values of the parameters passed. Any parameters not included in the request will be left unchanged.

Request

Path Parameters

    connection_id stringrequired

    ID of the TeXML App (formerly connection) whose XML Translator settings are to be updated

Body

required

XML Translator details

    xml_request_url stringrequired

    URL to which Telnyx will deliver your XML Translator webhooks

    xml_failover_url string

    URL to which Telnyx will deliver your XML Translator webhooks if we get an error response from your xml_request_url

    xml_request_method string

    Default value: post

    Method Telnyx will use to interact with your XML Translator webhooks. Either 'get' or 'post'.

Responses

200: XML Translator Authentication update response

400: Bad Request

401: Unauthorized

404: Record Not Found

Request samples


curl -L -X PUT 'https://api.telnyx.com/security/connections/:connection_id/call_control_xml_authentication' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"xml_request_url": "string",
"xml_failover_url": "string",
"xml_request_method": "post"
}'

Response samples


{
"success": true,
"message": "string",
"reasons": {}
}