Initiate an outbound TeXML call. Telnyx will request TeXML from the XML Request URL configured for the connection in the Mission Control Portal.
Iniatiate Call request object
{- "To": "+13121230000",
- "From": "+13120001234",
}
{- "data": {
- "from": "+13120001234",
- "to": "+13121230000",
- "status": "queued"
}
}
Update TeXML call. Please note that the keys present in the payload MUST BE formatted in CamelCase as specified in the example.
Update Call request object
{- "Status": "completed"
}
{- "data": {
- "sid": "c46e06d7-b78f-4b13-96b6-c576af9640ff",
- "status": "accepted"
}
}
Create a TeXML secret which can be later used as a Dynamic Parameter for TeXML when using Mustache Templates in your TeXML. In your TeXML you will be able to use your secret name, and this name will be replaced by the actual secret value when processing the TeXML on Telnyx side. The secrets are not visible in any logs.
{- "name": "My Secret Name",
- "value": "My Secret Value"
}
{- "data": {
- "name": "My Secret Name",
- "value": "*****"
}
}