Add a Native Account
Purpose
This API is used to add a new account as a native account in Mail360. Native accounts are email accounts hosted within Mail360.
OAuth Scope
Use the scope
MailApps.accounts.ALL (or) MailApps.accounts.CREATE
ALL - Full access to the accounts.
CREATE - Add a new account.
To generate Authtoken, refer here.
Request URL
Method: POST
https://mail360.zoho.com/api/accounts
Request Body (JSON object)
- emailid* string
- This is the new email address that needs to be created within a domain that has been verified in Mail360.
- accountType* integer
- This refers to the type of account to be added.
- Provide the value as 1 to create a native account.
* - Mandatory parameter
Sample Request
Copiedcurl "https://mail360.zoho.com/api/accounts" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken ***" \
-d '{
"displayName": "Paula",
"accountType": "1",
"emailid": "paula.m@zylker.com"
}'
Sample Response
Copied{
"status": {
"code": 200,
"description": "success"
},
"data": {
"account_key": "M0BS3O****"
}
}