Get contact details
Purpose
This command is used to get the details of a particular contact.
Request URL
Using email address
clientsdk.get(["contactInfo", {eid: " "}]).then(res=>{ console.log(res) })
Using ZUID
clientsdk.get(["contactInfo", {zuid: ""}]).then(res=>{ console.log(res) })
Response Parameters
Parameter | Description |
chat | True/ False is returned based on whether a chat history exists with the contact |
contid | Contact ID of the contact |
eid | Email ID of the contact |
fn | First Name |
fn_ln | First Name_ Last Name |
isPrimary | True/ False is returned based on whether the email address is a primary email address |
photo | URL of the contact photo |
zid | ZUID of the contact |
Using email address
Copiedclientsdk.get(["contactInfo", {eid: "paula@zylker.com"}]).then(res=>{ console.log(res) })
Using ZUID
Copiedclientsdk.get(["contactInfo", {zuid: "647310909"}]).then(res=>{ console.log(res) })
Sample Response
Copied{
"chat": "true",
"contid": "3733364000000005050",
"eid": "paula@zylker.com",
"fn": "Paula",
"fn_ln": "Paula A",
"isPrimary": "true",
"photo": "https://contacts.zoho.com/photo/r/9b36e8fc1904915a9bc1bff",
"zid": "54220374"
}