POST /emailCampaigns/{campaignId}/exportRecipients

Export the recipients of a sent email campaign as an asynchronous process, filtered by recipient type (e.g. openers, clickers, hardBounces). The recipientsType field is required and determines which subset of recipients to export. An optional notifyURL webhook will be called once the export is complete, and the response returns a processId to track the export status.

Servers

Path parameters

Name Type Required Description
campaignId Integer Yes

Id of the campaign

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
recipientsType String Yes

Type of recipients to export for a campaign

Valid values:

  • "openers"
  • "nonClickers"
  • "softBounces"
  • "unsubscribed"
  • "clickers"
  • "hardBounces"
  • "nonOpeners"
  • "all"
notifyURL String No

Webhook called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.