Método e URL
POST https://api.agilize.app/messenger/chat/messageTemplateAutenticação
Envie a chave de API no cabeçalho da requisição.
Accept: application/json
x-api-key: SUA_CHAVE_APIParâmetros
| Nome | Origem | Obrigatório | Tipo | Descrição |
|---|---|---|---|---|
| x-api-key | header | Sim | string | Chave da API de integração gerada em seu painel gerencial. |
| content-type | header | Sim | string | application/json |
Corpo da requisição
- Obrigatório: Sim
- Content-Type: application/json
Campos do corpo
| Campo | Tipo | Obrigatório | Valores / Exemplo | Descrição |
|---|---|---|---|---|
| name | string | Não | ||
| language | string | Não | ||
| category | string | Não | ||
| bodyText | string | Não | ||
| body | object | Não | ||
| header | object | Não | ||
| footer | object | Não | ||
| buttons | object | Não | ||
| business | string | Sim | ||
| phone | string | Sim | ||
| waTemplateId | string | Não | ||
| waStatus | string | Não | ||
| waReason | string | Não | ||
| useCount | number | Não | ||
| qualityScore | string | Não | ||
| deleted | boolean | Não | ||
| hasPaymentBtn | boolean | Não |
Exemplo básico:
{
"business": "valor",
"phone": "valor"
}Respostas
| Status | Descrição | Conteúdo |
|---|---|---|
| 201 | created | application/json |
| 401 | not authenticated | |
| 500 | general error |
Exemplos básicos
Escolha uma linguagem para abrir o exemplo de requisição.
Testar requisição
Preencha os parâmetros, informe a chave no cabeçalho x-api-key e envie a requisição diretamente pelo navegador.
