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

Authorizations

Authorization
string
header
required

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

Path Parameters

chat_id
string<uuid>
required

Body

application/json

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

template_id
string<uuid>
required
variables
Variables · object

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

Response

Successful Response

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

user_message
ChatMessageSummaryOut · object
required

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