HeadHoncho

Get company

Get company is a read in the HeadHoncho API. One company this credential reaches: its name, time zone, country and service area.

Read as Markdown

The request

Reference for Get company, HeadHoncho API v1. It is a read, sent to the base address https://api.headhoncho.app.

GET /api/v1/companies/{company_id}

Any key can call it. An answered call costs 1 credit; a refusal costs nothing. See credits.

Send your key as Authorization: Bearer hh_live_.... See API keys.

Parameters

NameKindRequiredDescriptionExample
company_idid, in the pathYesThe company id, from List companies or Who am I.cmp_14f5

Try it with your key

Paste your key and change the values. The box builds the call as a cURL line and a fetch line, ready to copy. It never sends anything itself.

Your key stays in this page and is never sent anywhere. Copy the line below and run it yourself.

What comes back

The company: id, name, time_zone, country, service_area and status. A company this credential does not reach answers 404, the same as one that does not exist.

It never changes a record. It only reads the companies the key reaches.

Every field in the answer

Types are read from the example answer. Money is a plain number in the company's currency. A time carries its offset from UTC (Z is UTC). Ids are opaque text. A field with no line of its own here has its name spelled out; the common fields mean the same on every page.

FieldTypeMeaning
idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
nametextThe name, as the app shows it.
time_zonetextThe company's time zone name, such as America/Chicago.
countrytextThe country.
service_areatextThe service area.
statustextThe job status.

Errors that apply

CodeStatusWhat it means
`missing_key`401Send your key as Authorization: Bearer hh_live_...
`unknown_key`401That key is not one we issued, or it was revoked.
`not_found`404No such record in the companies this credential reaches.
`out_of_scope`404No such company in the companies this credential reaches.
`invalid`422Some fields were refused. See fields.
`no_credits`402Out of credits. Top up on Settings › Credits, or turn on auto top-up.
  • Whoami: Who this key or app acts as, which companies it reaches, what it may do, and the words to use in commands: statuses, job types and technicians.
  • List companies: The companies this credential reaches, each with its name, time zone, country and service area. The same ids every other call takes as company_id.
  • Get usage: What the plan has used, what API calls cost and what this credential called, by day or by endpoint, with the credits left.
  • Get credits: This month's credits: the plan's grant, what rolled over, what was bought, what was used and what is left.
  • List plans: The plans on offer, with price and what each includes, and which one this workspace is on.
  • The same records in the app: Multiple companies.
  • How the API fits together: the model, API keys, errors and the MCP server.