v1
latestOpenAPI 3.1.02026-07-24700259.3 KBACTIVITY
Search activity
Returns events (such as opens, unsubscribes) which match the filters passed. A count of events matching the filter is also included, as this may surpass the maximum of 1,000 items included within the response.<br /><i>This endpoint is rate-limited to 60 requests per minute.</i>
post/activity/search
Request body
Example request
{
"custom_headers": [
"X-MyCustomID"
],
"region": "us"
}Response
Matching events
Example response
{
"data": {
"continue_token": "...",
"events": [
{
"from": "no-reply@example.com",
"recipient": "someone@example.com",
"subaccount_name": "Master account",
"email_id": "1u0SwL-B9zBpi9ffUq-JAB2",
"date": "2021-02-09T12:18:53Z",
"event": "opened",
"subject": "Booking Confirmation",
"username": "smtpuser",
"reply_to": "reply@example.com",
"sender": "no-reply@example.com",
"sender_full": "NoReply <no-reply@example.com>",
"to": "otherperson@example.com",
"cc": "cc@example.com",
"bcc": "bcc@example.com",
"smtp_response": "250 Message received",
"reason": "This was a spam email",
"host": "127.0.0.1",
"originating_host": "127.0.0.1",
"error": "i/o timeout"
}
],
"total_events": 23405
},
"request_id": "4b661d88-6b2d-11eb-8bb3-f23c92bb31d2"
}