In this area
Contacts
List contacts and manage their tags.
List or search contacts
get/v1/public/contacts
Returns a paginated list of contacts in your organization. Use query for free-text search across name/email/phone.
Parameters
limitnumberoptional· query- Range 1–100, default 25
pagenumberoptional· queryhasPhonebooleanoptional· queryhasEmailbooleanoptional· querytagIdstringoptional· query- Filter to contacts that have this tag. Repeat to OR multiple.
querystringoptional· query- Free-text search across name/email/phone
| Field | In | Type | Description |
|---|---|---|---|
limitoptional | query | number | Range 1–100, default 25 |
pageoptional | query | number | |
hasPhoneoptional | query | boolean | |
hasEmailoptional | query | boolean | |
tagIdoptional | query | string | Filter to contacts that have this tag. Repeat to OR multiple. |
queryoptional | query | string | Free-text search across name/email/phone |
Responses
200
Examples
bash
curl -X GET "https://api.cognizy.ai/api/v1/public/contacts" \
-H "Authorization: Bearer $COGNIZY_API_KEY"Get a contact by id
get/v1/public/contacts/{id}
Returns the full contact record including recent conversations, deals, appointments, tags, and custom fields.
Parameters
idstringrequired· path- Contact ID
| Field | In | Type | Description |
|---|---|---|---|
idrequired | path | string | Contact ID |
Responses
200Contact record returned404Contact not found
Examples
bash
curl -X GET "https://api.cognizy.ai/api/v1/public/contacts/<id>" \
-H "Authorization: Bearer $COGNIZY_API_KEY"