List action logs
Retrieve paginated account action logs (administrative and user actions) for the given mail order. Supports filtering by account, date range, and status. Results are sorted by timestamp descending.
Retrieve paginated account action logs (administrative and user actions) for the given mail order. Supports filtering by account, date range, and status. Results are sorted by timestamp descending.
API Token authentication
Order resource ID
OR1a2b3c4d5e6f7gFilter log entries by a specific email account
user@example.comExact date filter (YYYY-MM-DD). Takes precedence over from_date/to_date when both are given.
2026-03-16Date range start (RFC 3339)
2026-03-01T00:00:00ZDate range end (RFC 3339)
2026-03-31T23:59:59ZFilter log entries by status
SuccessfulPossible values: Page number
1Number of items per page
25Example: 25Success response
Unauthenticated response
Error response
Error response
Error response
GET /api/mail/v1/orders/{orderId}/logs/action HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"action": "Account created",
"extra": null,
"created_at": "2026-03-16T12:11:34Z",
"ip_address": "127.0.0.1",
"role": "user",
"action_context": "example.com",
"response_status": "OK"
}
],
"meta": {
"current_page": 1,
"per_page": 15,
"total": 100
}
}Last updated
Was this helpful?