Hanzo AI
OpenapiCrm

Get companies

Returns one of the caller org's companies.

GET /v1/crm/companies/{id}

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

Returns one of the caller org's companies. 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
200Companyok

200 body — 13 fields.

FieldInTypeAlwaysDescription
arrbodyinteger—ARR is annual recurring revenue in minor units (cents) of Currency.
citybodystring—City is the head-office city.
countrybodystring—Country is the head-office country.
createdAtbodyinteger—CreatedAt is the unix second the company was created.
currencybodystring—Currency is the ISO code ARR is denominated in; a write that names none stores USD.
domainNamebodystring—DomainName is the company's primary domain, e.g.
employeesbodyinteger—Employees is the headcount.
idbodystring—ID is the server-minted company id ("comp_" + 128 random bits).
idealCustomerProfilebodyboolean—ICP marks the company as an ideal-customer-profile fit.
linkedinLinkbodystring—Linkedin is the company's LinkedIn URL.
namebodystring—Name is the company name.
updatedAtbodyinteger—UpdatedAt is the unix second of the last write.
xLinkbodystring—XLink is the company's X (Twitter) URL.

Failure carries the platform error shape — see Errors.

Examples

hanzo crm companies get <id>

CRM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page