Get contact
One contact with every property and tag.
GET https://cotlet.dev/api/v1/tidio/contacts/{contact_id}
read
Returns the full record of one contact: name, email, phone, language, country, email consent, tags and all contact properties by name. Use it to check which properties exist before writing with update_contact.
Parameters
| Name | Type | Description |
|---|---|---|
| contact_id string required | string | Contact ID from list_contacts. |
Request
curl https://cotlet.dev/api/v1/tidio/contacts/contact_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("tidio", "get_contact", {"contact_id":"contact_8c41d2"}) const result = await cotlet.call('tidio', 'get_contact', {"contact_id":"contact_8c41d2"}); cotlet call tidio get_contact --data '{"contact_id":"contact_8c41d2"}' Example response
{
"contact_id": "c4d9e1a2-77b0-4e0f-9a31-5b2c8e6f0d13",
"name": "Mark Dole",
"email": "mark.dole@example.com",
"phone": null,
"language": "en",
"country": "US",
"email_consent": "subscribed",
"tags": [],
"properties": {
"plan": "trial"
}
}