List contacts

GET {{baseUrl}}/api/v1/contacts

This API lists a particular number of contacts, based on the limit specified.

OAuth Scope

  • Desk.contacts.READ

Request Params

KeyDatatypeRequiredDescription
includestringSecondary information related to the contact.Value supported is accounts.
fromstringIndex number, starting from which the contacts must be fetched
limitstringNumber of contacts to fetch
viewIdstringID of the view to apply while fetching the resources
sortBystringSort by a specific attribute: firstName, lastName, or createdTime.The default sorting order is ascending. A - prefix denotes descending order of sorting.
fieldsstringKey that returns the values of mentioned fields (both pre-defined and custom) in your portal. All field types except multi-text are supported. Standard, non-editable fields are supported too. These fields include: photoURL, webUrl. Maximum of 30 fields is supported as comma separated values.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"lastName":"Case","secondaryEmail":null,"mobile":"+91 8508569683","ownerId":null,"type":null,"accountId":"1892000000091433","firstName":"Jonathan","photoURL":"https://desk.zoho.com/api/v1/contacts/1892000000772003/photo","isAnonymous":false,"phone":"1 888 900 9646","webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Contacts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38","createdTime":"2015-02-16T14:46:24.000Z","isEndUser":false,"zohoCRMContact":null,"id":"1892000000772003","isSpam":false,"customerHappiness":{"badPercentage":"0","okPercentage":"0","goodPercentage":"0"},"email":"case@zylker.com"},{"lastName":"Jade","secondaryEmail":null,"mobile":null,"ownerId":null,"type":null,"accountId":"1892000000052077","firstName":"Christ","photoURL":null,"isAnonymous":false,"phone":null,"webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Contacts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38","createdTime":"2015-02-16T14:46:24.000Z","isEndUser":false,"zohoCRMContact":{"id":"1892000000772030","type":"contacts_leads"},"id":"1892000000772001","isSpam":false,"customerHappiness":{"badPercentage":"22","okPercentage":"31","goodPercentage":"47"},"email":"jade@zylker.com"}]}