Verify

Create message template

Changed on

Create a new Verify profile message template.

post/verify_profiles/templates

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/verify_profiles/templates
  • Auth: HTTP bearer

Request body

textstring required

The text content of the message template.

Example request

{
  "text": "Your {{app_name}} verification code is: {{code}}."
}

Response

Expected message template response to a valid request.

Example response

{
  "data": {
    "id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
    "text": "Your {{app_name}} verification code is: {{code}}."
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • warning

      removed the optional property /// from the response with the status