WhatsApp campaigns
Overview
The WhatsApp Campaigns API enables you to programmatically create and manage WhatsApp marketing campaigns. Use the API to:
- Create and manage WhatsApp campaigns and templates
- Broadcast messages to contact lists and segments
- Retrieve campaign statistics and performance metrics
- Schedule and update campaign delivery
You need access to the WhatsApp Campaigns feature in your Brevo account. See the activation section below.
Activating WhatsApp
Before using the WhatsApp Campaigns API, activate WhatsApp in your Brevo account.
After activation, you must link your WhatsApp Business account to Brevo. For detailed setup instructions, see the WhatsApp onboarding guide.
Get a WhatsApp campaign
Retrieve details for a specific WhatsApp campaign.
Endpoint
GET https://api.brevo.com/v3/whatsappCampaigns/{campaignId}
Path parameters
Request example
Response codes
Delete a WhatsApp campaign
Delete a WhatsApp campaign. You cannot delete campaigns that are currently being sent.
Endpoint
DELETE https://api.brevo.com/v3/whatsappCampaigns/{campaignId}
Path parameters
Retrieve the campaignId from the Brevo WhatsApp dashboard or use the get all campaigns endpoint.
Request example
Response codes
Update a WhatsApp campaign
Update campaign details, including status, recipients, and scheduling.
Endpoint
PUT https://api.brevo.com/v3/whatsappCampaigns/{campaignId}
For detailed parameter information, see the API reference.
Path parameters
Body parameters
Recipients object
Request example
Response codes
Get all WhatsApp templates
Retrieve all created WhatsApp templates with optional filtering.
Endpoint
GET https://api.brevo.com/v3/whatsappCampaigns/template-list
Query parameters
Request example
Response example
Response codes
Create and send a WhatsApp campaign
Create a new WhatsApp campaign and schedule it for delivery.
Endpoint
POST https://api.brevo.com/v3/whatsappCampaigns
Body parameters
Recipients object
Get list and segment IDs using the get all lists and get all segments endpoints.
Request example
Response example
Response codes
Get all WhatsApp campaigns
Retrieve all WhatsApp campaigns with optional filtering.
Endpoint
GET https://api.brevo.com/v3/whatsappCampaigns
Query parameters
Request example
Response example
Response codes
Create a WhatsApp template
Create a new WhatsApp template. Templates must be approved before use in campaigns.
Endpoint
POST https://api.brevo.com/v3/whatsappCampaigns/template
Body parameters
Request example
Response example
Response codes
For detailed error information, see the API reference.
Send WhatsApp template for approval
Submit a template for WhatsApp approval. Approved templates can be used in campaigns.
Endpoint
POST https://api.brevo.com/v3/whatsappCampaigns/template/approval/{templateId}
Path parameters
Get the templateId from the response when creating a WhatsApp template.
Request example
Response codes
Get WhatsApp API account information
Retrieve your WhatsApp Business account information, including sending limits and account status.
Endpoint
GET https://api.brevo.com/v3/whatsappCampaigns/config