Get mailbox quota
Retrieve storage and message quota usage for the managed mailbox.
Retrieve storage and message quota usage for the managed mailbox.
Authorizations
AuthorizationstringRequired
Bearer authentication using API tokens in the Authorization header.
Path parameters
mailboxResourceIdstringRequiredExample:
Resource ID of the managed mailbox the bearer token is authorized for.
AC1a2b3c4d5e6f7gResponses
200
Mailbox quota usage.
application/json
Mailbox quota payload.
401
Missing or invalid credentials.
application/json
403
Token is not authorized to manage the requested mailbox.
application/json
500
Server-side failure.
application/json
502
Upstream service is unavailable or returned an unexpected response.
application/json
get/api/v1/mailboxes/{mailboxResourceId}/quota
GET /api/v1/mailboxes/{mailboxResourceId}/quota HTTP/1.1
Host: api.mail.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"quotas": [
{
"resourceName": "STORAGE",
"usage": 1048576,
"limit": 1073741824,
"percentage": 0
}
],
"totalUsage": 1048576,
"totalLimit": 1073741824,
"totalPercentage": 0,
"supported": true
}
}Last updated
Was this helpful?