Send a message to an existing WhatsApp chat or group specified by its name in TimelinesAI.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A JSON describing recipient and message payload.
an exact name of the chat (or group) as appears in TimelinesAI)
"MyChat"
UID of the message this message replies to. Must reference a message in the same workspace and WhatsApp account. Null or empty string is ignored.
plain text message
"hello, world!"
attachment UID
"afa9d4dd-978d-4a14-aa1b-bd65c272e645"
assign label to the chat, in which the message is sent (create new label, if not exists)
"customer"
a template ID of the attachment to be sent. The template must be created in the workspace before sending a message with it.
123456