---
title: "Create and Send a WhatsApp campaign"
method: POST
path: "/whatsappCampaigns"
tags: ["WhatsApp Campaigns"]
---

# Create and Send a WhatsApp campaign

`POST /whatsappCampaigns`

## Request body

- CreateWhatsAppCampaign
  - `name` string, required — Name of the WhatsApp campaign creation
  - `templateId` integer, required — Id of the WhatsApp template in **approved** state
  - `scheduledAt` string, required — Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.For example: **2017-06-01T12:30:00+02:00**
  - `recipients` CreateWhatsAppCampaignRecipients, required — Segment ids and List ids to include/exclude from campaign
    - `excludedListIds` integer[] — List ids to exclude from the campaign
    - `listIds` integer[] — **Mandatory if scheduledAt is not empty**. List Ids to send the campaign to
    - `segments` integer[] — **Mandatory if listIds are not used**. Segment ids to send the campaign to.

## Response `201`

WhatsApp campaign created

- CreateModel
  - `id` integer, required — ID of the object created

## 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)
