For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get mailbox quota

Retrieve storage and message quota usage for the managed mailbox.

Get mailbox quota

get

Retrieve storage and message quota usage for the managed mailbox.

Authorizations
AuthorizationstringRequired

Bearer authentication using API tokens in the Authorization header.

Path parameters
mailboxResourceIdstringRequired

Resource ID of the managed mailbox the bearer token is authorized for.

Example: AC1a2b3c4d5e6f7g
Responses
200

Mailbox quota usage.

application/json

Mailbox quota payload.

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?