Get all Accounts
Purpose
This API is used to list all the accounts added in Mail360.
OAuth Scope
Use the scope
MailApps.accounts.ALL (or) MailApps.accounts.READ
ALL - Full access to the accounts.
READ - Read all the accounts.
To generate Authtoken, refer here.
Request URL
Method: GET
https://mail360.zoho.com/api/accounts
* - Mandatory parameter
Sample request
Copiedcurl "https://mail360.zoho.com/api/accounts" \
-X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken ***"
Sample response
Copied{
"status": {
"code": 200,
"description": "success"
},
"data": [
{
"account_key": "B0l04wc0S8M",
"ac": [
{
"Email Address": "rebecca@zylker.com",
"Display Name": "Rebecca",
"type": "IMAP_ACCOUNT",
"enabled": true,
"isOAuthAcc": false,
"incomingBlocked": false,
"outgoingBlocked": false
}
]
}
]
}