v1
latestOpenAPI 3.1.02026-07-2616459400.5 KBFetch Logs
Retrieves a paginated list of email event logs with multiple filtering options. You can filter logs by time range, event type, recipient details, sender details, and more. Supported Authorization type is “Bearer” along with value of your Email API KEY Which you can find in your Email API account under Settings >Integrations > API. This endpoint supports scroll-based pagination via the scrollId mechanism. The maximum number of records per request is 1000. If no limit is specified, 50 records will be returned. Supported event types: processed, sent, open, click, unsubscribe, bounce, softbounce, spam, invalid, dropped, hardbounce, scheduled, cancelled
Query parameters
Start date in YYYY-MM-DD format (required).
Optional end date in YYYY-MM-DD format.
Start date and time in YYYY-MM-DD HH:mm:ss format (required).
Optional end date and time in YYYY-MM-DD HH:mm:ss format.
Optional list of event types to filter logs by.
Filter by recipient email address.
Filter by email subject.
Filter by custom arguments passed in the email payload.
Filter by tags.
Filter by sender's email address.
Filter by sender's domain.
Filter by recipient's domain.
Filter logs based on message_id
Number of records to return. Maximum: 1000.
Sort order for the logs based on sent time. Use asc or desc.
Scroll ID for fetching the next page of results.
Headers
Optional header used when making API calls with a master account’s API key. Allows performing actions for a specific subaccount by providing its username.
Response
Logs fetched successfully.