HeadHoncho

Get lead

Get lead is a read in the HeadHoncho API. One lead: who, what and when they asked for, the estimate, its stage and what happened to it so far.

Read as Markdown

The request

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

GET /api/v1/leads/{lead_id}

The key needs the Leads 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
lead_idid, in the pathYesThe lead id, or its number.lead_5d21

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 lead. stage is new, taken, quoted, won, lost or passed. missing names the facts still needed before a job can be booked. job is set once the lead is booked. history lists what happened, oldest first: at, line and by.

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.
numberwhole numberThe number people say out loud, such as the job number.
tickettextThe job number the ticket shows.
companyobjectThe company.
company.idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
company.nametextThe name, as the app shows it.
stagetextHow far along it is, as a code.
stage_sincetime (ISO 8601, with offset)The moment: stage since. Carries its offset from UTC; Z is UTC.
client_nametextThe customer's name. Hidden when the key hides personal details.
client_phonetextThe customer's phone number. Hidden when the key hides personal details.
addressobjectThe address.
address.line1textThe street address. Hidden when the key hides personal details.
address.citytextThe city.
address.statetextThe state or region.
serviceobjectThe service.
service.idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
service.nametextThe name, as the app shows it.
wanted_starttime (ISO 8601, with offset)The moment: wanted start. Carries its offset from UTC; Z is UTC.
wanted_endtime (ISO 8601, with offset)The moment: wanted end. Carries its offset from UTC; Z is UTC.
urgenttrue or falseThe urgent.
notestextFree-text notes.
estimateobjectThe estimate.
estimate.amountmoney (number)The amount. In the company's currency.
estimate.sourcetextThe source.
quotedvalue or nullThe price quoted for the job.
lost_reasontextThe lost reason.
pass_reasontextThe pass reason.
jobvalue or nullThe job.
assigned_tovalue or nullThe assigned to.
sourceobjectThe source.
source.kindtextWhat sort of thing this is.
source.labeltextThe name the app shows for it.
source.channelvalue or nullThe channel.
arrivalswhole numberThe arrivals.
arrived_attime (ISO 8601, with offset)When it was arrived. Carries its offset from UTC; Z is UTC.
missinglist of textThe missing.
readytrue or falseThe ready.
archived_attime or nullWhen it was archived.
created_attime (ISO 8601, with offset)When it was created. Carries its offset from UTC; Z is UTC.
historylist of objectsThe history.
history[].attime (ISO 8601, with offset)The moment it happened. Carries its offset from UTC; Z is UTC.
history[].linetextThe line.
history[].byvalue or nullWho did it. A key shows as its name, then "for" and the member it acts as.

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.
  • List leads: Leads in the companies this credential reaches, newest first, with stage, service, estimate and where each came from.
  • List needs you: Jobs that wait on a person, most urgent first, each with the reasons: no technician, unpaid cut, no answer and more.
  • List conversion reviews: Ad clicks the matcher would not guess at. Each waits for you to pick the job it produced, or to reject it.
  • The same records in the app: the Leads panel.
  • How the API fits together: the model, API keys, errors and the MCP server.