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
Key | Datatype | Required | Description |
---|---|---|---|
include | string | Secondary information related to the contact.Value supported is accounts . | |
from | string | Index number, starting from which the contacts must be fetched | |
limit | string | Number of contacts to fetch | |
viewId | string | ID of the view to apply while fetching the resources | |
sortBy | string | Sort by a specific attribute: firstName , lastName , or createdTime .The default sorting order is ascending. A - prefix denotes descending order of sorting. | |
fields | string | Key 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
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
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"}]}