Hanzo AI
OpenapiCrm

Create companies

Adds a company to the caller's org and answers 201 with the stored record.

POST /v1/crm/companies

Addresshttps://api.hanzo.ai/v1/crm/companies
MethodPOST
Operationpost_crm_companies
AuthAuthorization: Bearer $HANZO_API_KEY

Adds a company to the caller's org and answers 201 with the stored record. A name is required; an empty currency defaults to USD.

Request

11 fields, body application/json (required).

FieldInTypeRequiredDescription
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.
currencybodystring—Currency is the ISO code ARR is denominated in; empty defaults to USD.
domainNamebodystring—DomainName is the company's primary domain, e.g.
employeesbodyinteger—Employees is the headcount.
idbodystring—ID names the company to update and comes from the path.
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.
xLinkbodystring—XLink is the company's X (Twitter) URL.

Response

StatusBodyMeaning
201Companycreated

201 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 create

CRM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page