Skip to main content
POST
Send a template message to a chat

Autorizações

Authorization
string
header
obrigatório

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Parâmetros de caminho

chat_id
string<uuid>
obrigatório

Corpo

application/json

Send an approved template into an existing live-chat conversation.

template_id
string<uuid>
obrigatório
variables
Variables · object

Body/button variable values, keyed '1','2',…

Resposta

Successful Response

Response for POST /chats/{chat_id}/messages/template.

user_message
ChatMessageSummaryOut · object
obrigatório

A chat message as embedded in the send-message responses below.