List incoming mail logs
/api/etlive/mailinsReturns inbound message trace logs for a domain or mailbox.
Authorization
api_key API token used to authenticate requests.
In: header
Query Parameters
Domain code: D followed by 9 digits. Example: D123456789.
Optional email account code to restrict results to one mailbox. Example: EA12345678.
Filter that processed the message: all (default), spamdyke, or qmailscanner.
Not used by this endpoint.
Message outcome: all (default), accept, denied, reject, spam-mark, spam-reject, virus-reject, or policy-reject.
Day to query, in YYYY-MM-DD format. Defaults to today.
Start time on date, in HH:MM:SS format and in the timezone of the authenticated user.
00:00:00End time on date, in HH:MM:SS format and in the timezone of the authenticated user.
23:59:59Sort field: create (default, order in which entries were recorded) or update. Other field names, such as login_at, are rejected with 422.
Sort direction: desc (default, newest first) or asc.
Pagination cursor. To get the next page, pass the pagination.last value from the previous response here, keeping all other parameters unchanged. Use it with sortby=create (the default). When there are no more entries, the API returns 404.
Maximum number of entries per page. Defaults to 30.
30Set to yes to include pagination.total_records, the total number of entries that match the filters.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/etlive/mailins?domain=string" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json"{ "resources": [ null ], "pagination": {}}