Export Webhooks History

Export all webhook events

This endpoint will submit a request to get the history of webhooks in the CSV file. The link to download the CSV file will be sent to the webhook that was provided in the notifyURL.

Options

Body
Values to submit for webhooks history

Request body which must comply to the following JSON Schema:

{
  "oneOf" : [ {
    "required" : [ "event", "notifyURL", "type" ],
    "type" : "object",
    "properties" : {
      "days" : {
        "type" : "integer",
        "description" : "Number of days in the past including today (positive integer). _Not compatible with 'startDate' and 'endDate'_",
        "example" : 7
      },
      "startDate" : {
        "type" : "string",
        "description" : "Mandatory if endDate is used. Starting date of the history (YYYY-MM-DD). Must be lower than equal to endDate",
        "example" : "2023-02-13"
      },
      "endDate" : {
        "type" : "string",
        "description" : "Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate",
        "example" : "2023-02-17"
      },
      "sort" : {
        "type" : "string",
        "description" : "Sorting order of records (asc or desc)",
        "example" : "desc"
      },
      "type" : {
        "type" : "string",
        "description" : "Filter the history based on webhook type",
        "example" : "transactional",
        "enum" : [ "transactional", "marketing" ]
      },
      "event" : {
        "type" : "string",
        "description" : "Filter the history for a specific event type",
        "example" : "request",
        "enum" : [ "invalid_parameter", "missing_parameter", "hardBounce", "softBounce", "delivered", "spam", "request", "opened", "click", "invalid", "deferred", "blocked", "unsubscribed", "error", "uniqueOpened", "loadedByProxy", "allEvents" ]
      },
      "notifyURL" : {
        "type" : "string",
        "description" : "Webhook URL to receive CSV file link",
        "example" : "https://brevo.com"
      },
      "webhookId" : {
        "type" : "integer",
        "description" : "Filter the history for a specific webhook id",
        "example" : 2345
      },
      "email" : {
        "type" : "string",
        "description" : "Filter the history for a specific email",
        "example" : "example@brevo.com"
      },
      "messageId" : {
        "type" : "integer",
        "description" : "Filter the history for a specific message id. Applicable only for transactional webhooks."
      }
    }
  } ]
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Raw Response: Returns the raw response in a single row with the following columns:

  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.