TRY NEW VERSION

accounts

Name Resource Description
Create an account by custom mail servers POST api/2.0/mail/accounts Creates an account using full information about mail servers specified in the request.
Create an account by email and password POST api/2.0/mail/accounts/simple Creates an account based on the email address and password specified in the request.
Create an OAuth account POST api/2.0/mail/accounts/oauth Creates a mail account with OAuth (only Google OAuth is supported).
Delete an account DELETE api/2.0/mail/accounts Deletes an account by email address specified in the request.
Get an account by email GET api/2.0/mail/accounts/single Returns the account information by the email address specified in the request.
Get the default account settings GET api/2.0/mail/accounts/setups Returns the default settings for an account with the email address specified in the request.
Get user accounts GET api/2.0/mail/accounts Returns a list of all the user mailboxes, aliases, and groups.
Set a folder account email PUT api/2.0/mail/accounts/emailinfolder Sets an account email in a folder with the ID specified in the request.
Set the account status PUT api/2.0/mail/accounts/state Sets the status of an account with the email address specified in the request.
Set the default account PUT api/2.0/mail/accounts/default Sets the default account with the email address specified in the request.
Update an account PUT api/2.0/mail/accounts Updates an account with the name specified in the request.
Update an OAuth account PUT api/2.0/mail/accounts/oauth Updates a mail account with OAuth (only Google OAuth is supported).
Update the user activity status PUT api/2.0/mail/accounts/updateuseractivity Updates the user activity status.