---
title: "Export the recipients of an email campaign"
method: POST
path: "/emailCampaigns/{campaignId}/exportRecipients"
tags: ["Email Campaigns"]
---

# Export the recipients of an email campaign

`POST /emailCampaigns/{campaignId}/exportRecipients`

## Path parameters

- `campaignId` integer, required

## Request body

- EmailExportRecipients
  - `notifyURL` string, url — Webhook called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479
  - `recipientsType` 'all' | 'nonClickers' | 'nonOpeners' | 'clickers' | 'openers' | 'softBounces' | 'hardBounces' | 'unsubscribed', required — Type of recipients to export for a campaign

## Response `202`

Recipient export request has been accepted

- CreatedProcessId
  - `processId` integer, required — Id of the process created

## Other responses

- `400` — bad request
- `404` — Campaign ID not found

---

[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/versions/2aec3cf66501/schema)
