Home / Servers / Brevo API / export_webhooks_history
Export webhook event history as CSV file
An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.
Export webhook event history as CSV file This is an enterprise feature. To have it activated please send us a request and we will activate it for your account. Exports webhook event history to CSV format for analysis and reporting. Use… [POST /webhooks/export]
Name on the gateway: brevo_api__export_webhooks_history · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
days | integer | Number of days in the past including today (positive integer). _Not compatible… |
email | string | Filter the history for a specific email |
endDate | string | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must… |
event required | invalid_parameter | missing_parameter | hardBounce | softBounce | delivered | spam | request | opened | click | invalid | deferred | blocked | unsubscribed | error | uniqueOpened | loadedByProxy | allEvents | Filter the history for a specific event type |
messageId | string | Filter the history for a specific message id. Applicable only for… |
notifyURL required | string | Webhook URL to receive CSV file link |
sort | string | Sorting order of records (asc or desc) |
startDate | string | Mandatory if endDate is used. Starting date of the history (YYYY-MM-DD). Must… |
type required | transactional | marketing | Filter the history based on webhook type |
webhookId | integer | Filter the history for a specific webhook id |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "brevo_api__export_webhooks_history",
"arguments": {
"event": "…",
"notifyURL": "…",
"type": "…"
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the export webhook event history as csv file tool with days set to ….