TeXML REST Commands
Create a TeXML secret
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.
post/texml/secrets
Request body
Example request
{
"name": "My Secret Name",
"value": "My Secret Value"
}Response
Successful response upon creating a TeXML secret.
Example response
{
"data": {
"name": "My Secret Name",
"value": "REDACTED"
}
}