Skip to main content
Use this endpoint to message a customer first, for example after a missed call, a form submission or a renewal reminder. It sends an approved message template from your agent’s WhatsApp number and opens a chat. When the customer replies, the WhatsApp agent attached to that number answers, with the template already in the chat history. A template is required because WhatsApp only allows free-form messages within 24 hours of the customer’s last message. See Message templates.

Before you start

  • A WhatsApp agent with a WhatsApp number attached.
  • An approved (Ready) template on that number.
  • Your workspace API key. See Authentication.

Send the first message

Request body

Headers

Responses

What happens next

  1. The template appears as the agent’s first message in the chat, under Logs → WhatsApp.
  2. When the customer replies, including by tapping a quick-reply button on the template, the agent answers in the same chat, with the template in context.
  3. The chat then follows the agent’s usual session timeouts and closes the same way as any other chat, firing the events you subscribed to.