---
title: "Send a WhatsApp message"
method: POST
path: "/whatsapp/sendMessage"
tags: ["Transactional WhatsApp"]
---

# Send a WhatsApp message

`POST /whatsapp/sendMessage`

This endpoint is used to send a WhatsApp message. <br/>(**The first message you send using the API must contain a Template ID. You must create a template on WhatsApp on the Brevo platform to fetch the Template ID.**)

## Request body

- SendWhatsappMessage
  - `templateId` integer — ID of the template to send
  - `text` string — Text to be sent as message body (will be overridden if templateId is passed in the same request)
  - `senderNumber` string, mobile, required — WhatsApp Number with country code. Example, 85264318721
  - `params` object — Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}.
  - `contactNumbers` string[], required — List of phone numbers of the contacts

## Response `201`

successfully created

- InlineResponse2014
  - `messageId` string, uuidv4, required — messageId of sent message

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/revisions/2aec3cf66501/schema)
