API Documentation Download OpenAPI specification

Fetch Email Accounts Storage

POSThttps://bll.titan.email/partner/fetchEmailAccountsStorage

API to batch-fetch storage usage (used and limit) for multiple email accounts under a single Mail Order on the Titan Mail Cloud infra, in a single call. Requested account IDs with no matching account are omitted from the response.

Body

application/json
titanOrderIdnumberrequired

The unique order ID against each domain provisioned with Titan

Example: 1
titanAccountIdsnumber[]required

The list of Titan mail account IDs (maximum 200) under the order for which storage usage is required.

Example: [123,124]

Responses

200OKapplication/json
reqIDstringrequired
Example: server.req.id
accountsobject[]
Show propertiesHide properties
titanAccountIdnumberrequired

The unique mail account ID against each email provisioned with Titan.

Example: 123
storageUsednumber

Storage currently used by the mailbox, in MB.

Example: 1234
storageLimitnumber

Total storage allotted to the mailbox, in MB.

Example: 5000
See General Errors for other errors that this API can return.
POST/partner/fetchEmailAccountsStorage
curl https://bll.titan.email/partner/fetchEmailAccountsStorage \
  --request POST \
  --header 'Authorization: API.Key' \
  --header 'Content-Type: application/json' \
  --data '{
  "titanOrderId": 1,
  "titanAccountIds": [
    123,
    124
  ]
}'
Response
{
  "reqID": "server.req.id",
  "accounts": [
    {
      "titanAccountId": 123,
      "storageUsed": 1234,
      "storageLimit": 5000
    }
  ]
}