Hanzo
OpenapiCrm

Returns the caller org's contacts, most recently updated first.

Returns the caller org's contacts, most recently updated first.

GET /v1/crm/contacts

Addresshttps://api.hanzo.ai/v1/crm/contacts
MethodGET
Operationget_crm_contacts
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's contacts, most recently updated first. A companyId narrows the page to the people at that company.

Request

2 fields.

FieldInTypeRequiredDescription
companyIdquerystringCompanyID returns only the contacts at that company when set.
limitqueryintegerLimit caps the rows returned: 200 by default, 1000 at most.

Response

StatusBodyMeaning
200contactListok

200 body — 13 fields.

FieldInTypeAlwaysDescription
databodyContact[]Data is the page of contacts, most recently updated first.
data[].citybodystringCity is where the person is based.
data[].companyIdbodystringCompanyID links the contact to one of the org's companies; empty when the contact stands alone, and cleared when its company is deleted.
data[].createdAtbodyintegerCreatedAt is the unix second the contact was created.
data[].emailbodystringEmail is the person's email address.
data[].firstNamebodystringFirstName is the person's given name.
data[].idbodystringID is the server-minted contact id ("cont_" + 128 random bits).
data[].jobTitlebodystringJobTitle is the person's role at their company.
data[].lastNamebodystringLastName is the person's family name.
data[].linkedinLinkbodystringLinkedin is the person's LinkedIn URL.
data[].phonebodystringPhone is the person's phone number.
data[].updatedAtbodyintegerUpdatedAt is the unix second of the last write.
data[].xLinkbodystringXLink is the person's X (Twitter) URL.

Failure carries the platform error shape — see Errors.

Examples

hanzo crm contacts list

CRM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page