Get specific account

Purpose 

This API is used to retrieve a specific account added in Mail360 using the account key.

OAuth Scope

Use the scope

MailApps.accounts.ALL (or) MailApps.accounts.READ

ALL - Full access to the accounts.

READ - Read the specific account.

To generate Authtoken, refer here.

Request URL

Method: GET

https://mail360.zoho.com/api/accounts/{account_key}

Path Parameters

  • account_key* string
    • This key is used to identify the account. It is generated during account addition.

 

* - Mandatory parameter

Sample request

Copiedcurl "https://mail360.zoho.com/api/accounts/C7T**aEzxN" \
-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": [
      {
        "emailAddress": "paula@gmail.com",
        "displayName": "Paula",
        "type": "IMAP_ACCOUNT",
        "enabled": true,
        "isOAuthAcc": false,
        "incomingBlocked": false,
        "outgoingBlocked": false
      }
    ]
  }
}