v1
latestOpenAPI 3.1.02026-07-14159142161.9 KBemailService
Add a new folder to an email account
Adds a new folder to the email account specified by emailId.
post/email/v1/folders/{emailId}
Path parameters
emailIdinteger required
Example:10
The ID of the email
Request body
Example request
{
"folder_name": "INBOX",
"path": "INBOX",
"delimitter": "/",
"is_inbox": true,
"is_root": true
}Response
OK
Example response
{
"id": 61,
"email_id": 10,
"folder_name": "INBOX",
"path": "INBOX",
"delimitter": "/",
"is_inbox": true,
"is_root": true,
"message_count": 4998,
"unread_message_count": 43
}