Get attribution metrics for one or more Brevo campaigns or workflows
Retrieve aggregated ecommerce attribution metrics for one or more Brevo email campaigns, SMS campaigns, or automation workflows. You can optionally filter by a date range using periodFrom and periodTo in RFC3339 format. The response includes per-source metrics (orders count, revenue, and average basket) as well as aggregated totals across all requested sources.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Query parameters
periodFrom
When getting metrics for a specific period, define the starting datetime in RFC3339 format
periodTo
When getting metrics for a specific period, define the end datetime in RFC3339 format
emailCampaignId[]
The email campaign ID(s) to get metrics for
smsCampaignId[]
The SMS campaign ID(s) to get metrics for
automationWorkflowEmailId[]
The automation workflow ID(s) to get email attribution metrics for
automationWorkflowSmsId[]
The automation workflow ID(s) to get SMS attribution metrics for
Response
OK
results
List of conversion attribution metrics
totals
Attribution list aggregated totals
Errors
400
Bad Request Error