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

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

chat_id
string<uuid>
requerido

Cuerpo

application/json

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

template_id
string<uuid>
requerido
variables
Variables · object

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

Respuesta

Successful Response

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

user_message
ChatMessageSummaryOut · object
requerido

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