Create messaging template

Body Params
string
required
length ≤ 512
string
enum
required
Allowed:
string
enum
required
Allowed:
string
enum
Allowed:
string
content
array of objects
required
length ≤ 5
content*
Responses

status.code property in the response payload, rather than the HTTP status code of the response.

Status codeText stringDescription
3801Request succesfulThis template is being processed by the service. Additional updates on the status of this transaction will be sent to your transaction callback service endpoint.

status.code property in the response payload, rather than the HTTP status code.

Status codeText stringDescription
3110Invalid requestThe API request or its JSON payload is improperly formatted. (Final)
3301Missing parameter channelThe API request does not contain the mandatory parameter channel. (Final)
3802Missing parameter nameThe API request does not contain the mandatory parameter name. (Final)
3803Missing parameter typeThe API request does not contain the mandatory parameter type. (Final)
3815Missing parameter contentThe API request does not contain the mandatory parameter content. (Final)
3816Invalid value for parameter category: {category}The value of parameter category is not one of the supported values. See request schema for a list of supported values. (Final)
3817Invalid value for parameter category: {language}The value of parameter language is not one of the supported values. See request schema for a list of supported values. (Final)
3819Invalid value for parameter sample_textThe value for the sample_text parameter is missing or the number of values does not match the number of variables in the body or header.
3856Invalid value for parameter name: {name}Template name already exists, or it is missing, or it is not valid. (Final)

status.code property in the response payload, rather than the HTTP status code.

Status codeText stringDescription
3400Not authorizedInsufficient permissions to access this resource or authorization failed.
3818Template Management Product not enabled for Customer IDOmnichannel product is not enabled. (Final)

status.code property in the response payload, rather than the HTTP status code.

Status codeText stringDescription
3204Rate limit exceededAllowed number of requests per second for this product or feature has been exceeded.

status.code property in the response payload, rather than the HTTP status code.

Status codeText stringDescription
3500System UnavailableThe system is currently unavailable. The request should be resubmitted.

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