Mail: API Tokens
List API tokens
Retrieve a paginated list of Hostinger Email API tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
get/api/mail/v1/api-tokens
Query parameters
order_idstring nullable
Example:OR1a2b3c4d5e6f7g,OR9z8y7x6w5v4u3t
Filter tokens by order resource ID. Single value or comma-separated list.
pageinteger
Example:1
Page number
per_pageinteger
Example:25
Number of items per page
Response
Success response
Example response
{
"data": [
{
"id": "019683f8-1234-7abc-8def-0123456789ab",
"order_id": "OR1a2b3c4d5e6f7g",
"name": "CRM integration",
"scope": {
"mailboxes": [
{
"id": "AC1a2b3c4d5e6f7g",
"address": "user@example.com"
}
]
},
"created_at": "2026-05-05T12:00:00Z",
"last_used_at": "2026-05-15T08:30:00Z",
"type": "api_token"
}
],
"meta": {
"current_page": 1,
"per_page": 15,
"total": 100
}
}