List Contacts By Ids
GET {{baseUrl}}/api/v1/contacts/contactsByIds?ids=<long>
This API lists details of specific contacts, based on the IDs passed in the request.
OAuth Scope
Desk.contacts.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | List of Contact Ids (separated by comma) which must be fetched. The maximum number of IDs allowed is 20. |
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":"2017-10-12T13:11:50.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":"2017-10-12T13:11:50.000Z","isEndUser":false,"zohoCRMContact":{"id":"1892000000772030","type":"contacts_leads"},"id":"1892000000772001","customerHappiness":{"badPercentage":"22","okPercentage":"31","goodPercentage":"47"},"isSpam":false,"email":"jade@zylker.com"}]}