invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

EmailEvents: Brevo Email Events

read only REST

  • Catalog: Brevo
  • Schema: TransactionalEmails
  • Label: Email Events

Get all your transactional email activity (unaggregated events) This endpoint will show the aggregated stats for past 30 days by default if startDate and endDate OR days is not passed. The date range can not exceed 90 days

Can only retrieve data.

Summary

This endpoint will show the aggregated stats for past 30 days by default if startDate and endDate OR days is not passed. The date range can not exceed 90 days

API Source

  • Endpoint: /smtp/statistics/events
  • Operation: get /smtp/statistics/events

Performance Characteristics

Characteristic Value
Average access latency (ms) 126
Full scan rows per minute 65,100
Point query rows per minute 476
Write rows per minute 496

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
days `` Number of days in the past including today (positive integer, maximum 90). Not compatible with 'startDate' and 'endDate'. Defaults to 30 if neither dates nor days are provided.
email `` Filter the report for a specific email addresses
endDate `` Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate
event `` Filter the report for a specific event type (Values: bounces, hardBounces, softBounces, delivered, spam, requests, opened, clicks, invalid, deferred, blocked, unsubscribed, error, loadedByProxy)
messageId `` Filter on a specific message id
startDate `` Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
tags `` Filter the report for tags (serialized and urlencoded array)
templateId `` Filter on a specific template id

Table Columns

The columns of the table EmailEvents are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
date varchar2 Date filters on the platform, writable, date UTC date-time on which the event has been generated
email varchar2 Email Address filters on the platform, writable, email Email address which generates the event
event varchar2 Event filters on the platform, writable, event Event which occurred
from varchar2 From filters on the platform, writable, from Sender email from which the emails are sent
ip varchar2 IP filters on the platform, writable, ip IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks)
link varchar2 Link filters on the platform, writable, link The link which is sent to the user (only available if the event is requests or opened or clicks)
messageId varchar2 Message ID filters on the platform, writable, messageId Message ID which generated the event
reason varchar2 Reason filters on the platform, writable, reason Reason of bounce (only available if the event is hardbounce or softbounce)
subject varchar2 Subject filters on the platform, writable, subject Subject of the event
tag varchar2 Tag filters on the platform, writable, tag Tag of the email which generated the event
templateId int64 Template ID filters on the platform, writable, templateId ID of the template (only available if the email is template based)

Keys

Key Column Refers to Kind Description
EmailEvents_templateId_fk templateId SmtpTemplates.id Key

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: