Quota

Get mailbox quota

Retrieve storage and message quota usage for the managed mailbox.

get/api/v1/mailboxes/{mailboxResourceId}/quota

Request

  • Base URL: https://api.mail.hostinger.com
  • URL: https://api.mail.hostinger.com/api/v1/mailboxes/{mailboxResourceId}/quota
  • Auth: HTTP bearer

Path parameters

mailboxResourceIdstring required

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

Response

Mailbox quota usage.

Example response

{
  "data": {
    "quotas": [
      {
        "resourceName": "STORAGE",
        "usage": 1048576,
        "limit": 1073741824
      }
    ],
    "totalUsage": 1048576,
    "totalLimit": 1073741824,
    "supported": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.