Create messaging template

Use this action to create a Telesign Messaging template.

General requirements

  • Authentication: Basic (easiest to implement) or Digest
  • Encoding: Accepts only UTF-8 unicode characters as inputs.
  • Accepts: application/json
  • Responds with: application/json
  • Rate limit: Default rate limits by product
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 512
^[a-z_]*

The name of this template. Use only lowercase alpha characters and underscores. For WhatsApp, the name must include "telesign_otp" if you want Telesign to generate the OTP for you. For example: "verofinto_telesign_otp_wa_template". To enable this feature and create SMS templates with the OTP auto-generated by Telesign, contact our Customer Support Team.

string
enum
required

Specifies whether the template requires verification by the channel provider or not.

Allowed:
string
enum
required

The channel the template is used with. Each template can only be used with one channel.

Allowed:
string
enum

The category name specifying this template's use case. Only required for WhatsApp templates. Do not include any whitespace characters.

Allowed:
string

An abbreviation specifying the language of the text in the template. This is required for WhatsApp templates and not supported for other templates. See Messaging - Supported languages for WhatsApp templates for a list of valid abbreviations.

content
array of objects, unique
required
length ≤ 5

Contains properties defining the new template. The array can contain up to one instance of each object type: header, body, footer, suggested_action, and suggested_reply. A body object must be included. To add the first object, select the Add button. To add more objects, scroll past the suggested_reply object and select the Add button again. If you select a different object without using the Add button, it will replace your previous selection with the new one.

content*
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json