Skip to main content
POST
Create Message Template

Autorizações

api_access_token
string
header
obrigatório

Parâmetros de caminho

id
string<uuid>
obrigatório

ID of the inbox

Corpo

application/json
name
string
obrigatório

Template name

Exemplo:

"welcome_message"

category
enum<string>
obrigatório

Template category

Opções disponíveis:
UTILITY,
MARKETING,
AUTHENTICATION
Exemplo:

"UTILITY"

language
string
obrigatório

Template language code

Exemplo:

"en"

components
object[]
obrigatório

Template components

Resposta

Template created successfully

success
boolean
obrigatório
Exemplo:

true

data
object
obrigatório

Created template data

meta
object
obrigatório
message
string
obrigatório

Success message

Exemplo:

"Template created successfully"