List accounts of contact

GET {{baseUrl}}/api/v1/contacts/:contact_id/accounts

This API lists the accounts associated with a particular contact.

OAuth Scope

  • Desk.contacts.READ

Request Params

KeyDatatypeRequiredDescription
fromstringIndex number, starting from which the accounts must be fetched
limitstringNumber of accounts to list
startsWithstringLetter with which the names of the accounts must start
sortBystringSort by a specific attribute: accountName or createdTime or mappingType . The default sorting order is ascending. A - prefix denotes descending order of sorting.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"website":"www.zoho.com","accountName":"ZOHO","phone":"8822120911","mappingInfo":{"mappingId":1892000000052072,"mappingType":"PRIMARY","isAccountTicketsViewable":true},"webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Accounts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38","createdTime":"2015-02-16T16:57:44.000Z","zohoCRMAccount":{"id":"32754000000537001"},"customerHappiness":{"badPercentage":"30","okPercentage":"30","goodPercentage":"40"},"id":"1892000000052077","email":"admin@zylker.com"}]}