List API tokens
Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order.
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.
Authorizations
AuthorizationstringRequired
API Token authentication
Query parameters
order_idstring · nullableOptionalExample:
Filter tokens by order resource ID. Single value or comma-separated list.
OR1a2b3c4d5e6f7g,OR9z8y7x6w5v4u3tpageintegerOptionalExample:
Page number
1per_pageinteger · max: 100OptionalDefault:
Number of items per page
25Example: 25Responses
200
Success response
application/json
401
Unauthenticated response
application/json
422
Error response
application/json
500
Error response
application/json
get/api/mail/v1/api-tokens
GET /api/mail/v1/api-tokens HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "019683f8-1234-7abc-8def-0123456789ab",
"order_id": "OR1a2b3c4d5e6f7g",
"name": "CRM integration",
"scope": {
"has_all_mailboxes": false,
"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
}
}Last updated
Was this helpful?