- 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 – 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).
List
Query parameters
Name |
Type |
Required |
Values |
Description |
---|---|---|---|---|
|
|
"all", "mails", "events", "tasks", "notes", "contacts" |
The folder type Default value: "all" Note: “public_container”, “shared_namespace” and “shared_container” are not available for this property |
|
|
|
"all", "local", "public", "shared" |
List only folders matching this access mode Default value: "all" |
|
|
|
When true, the endpoint should only return the syncToken without the folder list. Default value: false |
Response
Create
Request body (JSON)
Name |
Type |
Required |
Values |
Description |
---|---|---|---|---|
|
|
* |
|
The new folder name |
|
|
|
"mails", "events", "tasks", "notes", "contacts" |
The folder type Default value: "mails" when Note: “public_container”, “shared_namespace” and “shared_container” are not available for this property Note: if the |
|
|
The parent folder ID Default value: the folder container ID (root folder) To create folders in the root folder, you can either omit the parentId property or use the |
Response
If successful, the response will contain an instance of folder.
Update
URL parameters
Name |
Type |
Description |
---|---|---|
|
|
The folder id |
Request body (JSON)
Name |
Type |
Required |
Values |
Description |
---|---|---|---|---|
|
|
* |
The new folder name |
Response
If successful, the response will contain an instance of folder.
Delete
Folder deletion takes into account the deleteToTrash
account setting:
-
if
deleteToTrash
is true (which is default), then-
if the folder is not already in Trash, deleting it will actually move it to Trash
-
otherwise, if the folder already in Trash, it's permanently deleted.
-
-
else
-
the folder is permanently deleted.
-
URL parameters
Name |
Type |
Description |
---|---|---|
|
|
The folder id |
Response
If successful, the response will be empty.
Move
URL parameters
Name |
Type |
Description |
---|---|---|
|
|
The folder id |
Request body (JSON)
Name |
Type |
Required |
Values |
Description |
---|---|---|---|---|
|
|
* |
The new parent folder ID; the container ID (root folder) for top level folders. |
Response
If successful, the response will contain an instance of folder.