Get the authenticated account
Returns the authenticated account and the mailboxes it can manage.
Returns the authenticated account and the mailboxes it can manage.
Authorizations
AuthorizationstringRequired
Bearer authentication using API tokens in the Authorization header.
Responses
200
Authenticated account with the mailboxes the API key can manage.
application/json
Authenticated account payload.
401
Missing or invalid credentials.
application/json
500
Server-side failure.
application/json
502
Upstream service is unavailable or returned an unexpected response.
application/json
get/api/v1/me
GET /api/v1/me HTTP/1.1
Host: api.mail.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"orderResourceId": "OR1a2b3c4d5e6f7g",
"mailboxes": [
{
"resourceId": "AC1a2b3c4d5e6f7g",
"address": "user@example.com"
}
]
}
}Last updated
Was this helpful?