Hanzo AI
OpenapiCrm

Get contacts

Returns one of the caller org's contacts.

GET /v1/crm/contacts/{id}

Addresshttps://api.hanzo.ai/v1/crm/contacts/{id}
MethodGET
Operationget_crm_contacts_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one of the caller org's contacts. An id belonging to another org reads as not found.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the record to act on, from the path.

Response

StatusBodyMeaning
200Contactok

200 body — 12 fields.

FieldInTypeAlwaysDescription
citybodystring—City is where the person is based.
companyIdbodystring—CompanyID links the contact to one of the org's companies; empty when the contact stands alone, and cleared when its company is deleted.
createdAtbodyinteger—CreatedAt is the unix second the contact was created.
emailbodystring—Email is the person's email address.
firstNamebodystring—FirstName is the person's given name.
idbodystring—ID is the server-minted contact id ("cont_" + 128 random bits).
jobTitlebodystring—JobTitle is the person's role at their company.
lastNamebodystring—LastName is the person's family name.
linkedinLinkbodystring—Linkedin is the person's LinkedIn URL.
phonebodystring—Phone is the person's phone number.
updatedAtbodyinteger—UpdatedAt is the unix second of the last write.
xLinkbodystring—XLink is the person's X (Twitter) URL.

Failure carries the platform error shape — see Errors.

Examples

hanzo crm contacts get <id>

CRM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page