- Mailbox API – Authentication and Authorization
- Mailbox API – Schemas
- Mailbox API – Versioning
- Mailbox API – Account
- Mailbox API – Account Settings
- Mailbox API – Account Filters
- Mailbox API – Folders
- Mailbox API – Mails
- Mailbox API – Mails Create and Send
- Mailbox API – Mails Search
- Mailbox API – Mails Counters
- Mailbox API – BIMI
- Mailbox API – Conversations
- Mailbox API – Labels
- Mailbox API – Contacts
- Mailbox API – Batch Operations
- Mailbox API – Undo
- Mailbox API – Error Handling
The Mailbox API is available starting with Axigen X4 (10.4).
Intro
In case of errors, all the Native API endpoints will respond with an appropriate HTTP error status codes and a top-level JSON object in the body containing details about the encountered error.
The JSON body will contain the following fields:
Generic Errors
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
All endpoints requiring login |
|
401 Unauthorized |
The user needs to authenticate before accessing the endpoint. |
All endpoints requiring a premium license |
|
403 Forbidden |
|
All endpoints |
|
400 Bad Request |
A parameter is invalid, required but missing, or unexpected |
All endpoints returning a single resource |
|
404 Not Found |
Requested resource was not found |
All endpoints |
|
500 Internal Server Error |
The server has encountered an internal error while executing the requested endpoint |
Unexpected |
|
500 Internal Server Error |
Default error, should not be part of the API |
Endpoint-specific Errors
Folders
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Move / Delete / Rename |
|
403 Forbidden |
Operation not permitted. |
Move / Delete / Rename / Copy / Create |
|
400 Bad Request |
The chosen folder name is too long. |
Move / Delete / Copy / Create |
|
403 Forbidden |
The parent folder is not allowed to have subfolders. |
Copy / Create |
|
403 Forbidden |
The message count quota for the account or targeted folder is reached. |
Move / Delete / Rename / Copy / Create |
|
409 Conflict |
Naming conflict |
Mails
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Search |
|
400 Bad Request |
The supplied mail search query was missing or invalid. |
Send / Send Draft |
|
429 Too Many Requests |
The mail send rate limitation is reached. |
Send / Send Draft |
|
400 Bad Request |
The size of the email exceeds the allowed limit. |
Send / Send Draft |
|
400 Bad Request |
The number of recipients for the current email exceeds the allowed limit. |
Send / Send Draft |
|
400 Bad Request |
At least one for the attachments' size exceeds the allowed limit. |
Send / Send Draft |
|
400 Bad Request |
The number of attachments exceeds the allowed limit. |
Create / Send / Send Draft / Replace Draft / Copy |
|
403 Forbidden |
The disk quota for the account or targeted folder is reached. |
Create / Send / Send Draft/ Replace Draft / Copy |
|
403 Forbidden |
The message count quota for the account or targeted folder is reached. |
Temporary Attachments
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Create / Store |
|
413 Payload Too Large |
The supplied attachment exceeds the attachment size limit |
Account - Signature
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Create |
|
403 Forbidden |
Signature limit is reached |
Account - Temporary Alias
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Create |
|
403 Forbidden |
Temporary aliases limit is reached |
Account - Filters Whitelist and Blacklist
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Create |
|
403 Forbidden |
Filters limit is reached |
Create/Update |
|
409 Conflict |
Naming conflict |
Conversations
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
List |
|
403 Forbidden |
Folder does not support conversations |
Delete |
|
403 Forbidden |
The disk quota for the account or targeted folder is reached. |
Delete |
|
403 Forbidden |
The message count quota for the account or targeted folder is reached. |
Move |
|
403 Forbidden |
Operation not permitted on standard folders. |
Labels
Endpoints |
Error Code |
HTTP Status Code |
Notes |
---|---|---|---|
Create / Update |
|
400 Bad Request |
The chosen name is too long. |
Create / Update |
|
409 Conflict |
Naming conflict |