HeadHoncho

Get worker

Get worker is a read in the HeadHoncho API. One technician or subcontractor: contact details, role, monthly pay, cut, the job types they take and whether the person has claimed their card.

Read as Markdown

The request

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

GET /api/v1/workers/{worker_id}

The key needs the Team area at read. 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
worker_idid, in the pathYesThe technician or subcontractor, from List technicians.wrk_3b90

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 person: id, role, name, first_name, last_name, email, phone, active, is_team_lead, monthly_pay (a number, or null when none was agreed), hired_on, ended_on, business_name (subcontractors), default_cut (basis, value and a label, or null), job_types and any_job_type (true when there is no limit), claimed (a login is linked) and open_claim_id.

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.
roletextThe role: what this person does on a job.
nametextThe name, as the app shows it.
first_nametextThe first name.
last_nametextThe last name.
emailtextThe email.
phonetextA phone number. Hidden when the key hides personal details.
activetrue or falseThe active.
is_team_leadtrue or falseTrue when it is team lead.
monthly_payvalue or nullThe monthly pay.
hired_ondate (YYYY-MM-DD)The date it was hired.
ended_onvalue or nullThe date it was ended.
business_nametextThe business name.
default_cutobjectThe default cut.
default_cut.basistextThe basis.
default_cut.valuemoney (number)The value. In the company's currency.
default_cut.labeltextThe name the app shows for it.
job_typeslist of objectsThe job types.
job_types[].idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
job_types[].nametextThe name, as the app shows it.
any_job_typetrue or falseThe any job type.
claimedtrue or falseThe claimed.
open_claim_idvalue or nullThe id of the open claim.

What is left out

The balance, the dispatch groups, the text-message consent and the logins you could link are not here. They are money, messages and who can sign in, which stay in the app.

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.
`no_access`403This credential does not reach that. Ask the person who made it for access.
`not_found`404No such record 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.