Creates a mail folder
POST/v2/users/:email/mailFolders
Creates a mail folder for the specified user. You can specify the creation location by providing the parent folder ID.
Request
Path parameters
Email address of the user.
Body parameters
Parent mail folder ID. Leave it empty to create a top-level folder.
Mail folder display name.
extensions object
Extended information of the mail folder.
Extended information of the mail folder.
Response
folder object
Email folder information.
Unique identifier of the folder. Unique within the account.
Folder name.
Parent folder ID.
Number of subfolders under the folder.
Number of emails in the folder.
The number of unread emails in the folder.
extensions object
Folder extension information.
Folder extension information.
Errors
401 | Access is unauthorized. Please check whether the correct authorization token is passed. |
403 | No API access permission. Please complete the relevant authorization on the application management page of the domain administrator. |