post

/logs/download

This endpoint allows you to download the email transaction logs which includes following events:

  1. Processed
  2. Sent
  3. Bounce (Hardbounce and Softbounce)
  4. Dropped
  5. Invalid
  6. Opened
  7. Clicked
  8. Unsubscribe
  9. Abuse

Request Parameters

1 Header

Request Body

Schema
object
startdate
string

The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

1 validation + required
enddate
string

The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

1 validation
events
string

Filter based on different email events. If not passed, all events will be fetched. Multiple comma separated events are allowed.

1 validation
email
string

Filter logs based on recipient’s email

1 validation
fromaddress
string

Filter logs based on fromaddress

1 validation
subject
string

Filter logs based on subject

1 validation
xapiheader
string

Filter logs based on x-apiheader

1 validation

Responses

1 Example
Schema
object
data
object
status
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host