GET - User account details

 Purpose

The API retrieves the list of accounts of the currently authenticated user. 

 Request URL

 http://mail.zoho.com/api/accounts

 Response Codes

Please refer Response Codes.

Sample Response


				{
   "status": {
      "code": "200",
      "description": "success"
   },
   "data": [
      {
         "URI": "http://mail.zoho.com/api/accounts/6000000000293",
         "displayName": "Michael Jackson",
         "timeZone": "Asia/Kolkata",
         "policyId": {
            "1000000018003": "OrgMarketer"
         },
         "spamcheckEnabled": "true",
         "primaryEmailAddress": "michael.jackson@vtv.com",
         "country": "us",
         "address": {},
         "language": "en",
         "zuid": "841943",
         "role": "member",
         "accountId": "6000000000293",
         "accountName": "vtvorg",
         "incomingUserName": "michael.jackson@vtv.com",
         "tfaEnabled": "false",
         "type": "ZOHO_ACCOUNT",
         "sequence": "1",
         "sendMailDetails": [
            {
               "sendMailID": "6000000000295",
               "fromAddress": "michael.jackson@vtv.com",
               "status": "true",
               "mode": "mailbox",
               "displayName": "Michael Jackson",
               "serverName": "mail.zoho.com",
               "serverPort": "993",
               "userName": "michael.jackson@vtv.com",
               "password": "cts7898",
               "validated": "false",
               "connectionType": "plain",
               "validationRequired": "true"
            }
         ],
         "popAccessEnabled": "true",
         "allowedStorage": "15728640",
         "usedStorage": "1",
         "imapAccessEnabled": "true",
         "outgoingBlocked": "false",
         "incomingBlocked": "false",
         "spamCheckEnabled": "true",
         "activeSyncEnabled": "true",
         "vacationResponse": {
            "subject": "Out Of Office",
            "content": "I am currently out of office. Please expect a delayed response ",
            "fromDate": "1423074600000",
            "toDate": "1423852199000"
         },
         "emailAddress": [
            {
               "isPrimary": "false",
               "isConfirmed": "true",
               "mailId": "michael.jackson@otheremail.com",
               "isAlias": "false"
            }
         ],
         "accountEnabled": "true"
      }
   ]
}