HeadHoncho

List ad accounts

List ad accounts is a read in the HeadHoncho API. The ad accounts and call tracking each company has connected, and how each one is doing.

Read as Markdown

The request

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

GET /api/v1/ad-accounts

The key needs the Statistics and marketing 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
company_idid, in the queryNoOne company. Default: every company the credential reaches.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

items, one connected ad account each: id, company, provider, account_id, account_name, account_timezone, currency, status, status_detail, live, connected_by, connected_at, last_synced_at, last_spend_rows. call_tracking, the CallRail connections: id, company, provider, account_id, account_name, status, status_detail, live, last_synced_at, key_hint. No key or token is ever shown.

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
itemslist of objectsThe rows on this page.
items[].idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
items[].companyobjectThe company.
items[].company.idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
items[].company.nametextThe name, as the app shows it.
items[].providertextThe provider.
items[].account_idid (text)The id of the account.
items[].account_nametextThe account name.
items[].account_timezonetextThe account timezone.
items[].currencytextThe three-letter currency code (ISO 4217). Every money value in the answer is in it.
items[].statustextThe job status.
items[].status_detailtextThe status detail.
items[].livetrue or falseThe live.
items[].connected_bytextThe connected by.
items[].connected_attime (ISO 8601, with offset)When it was connected. Carries its offset from UTC; Z is UTC.
items[].last_synced_attime (ISO 8601, with offset)When it was last synced. Carries its offset from UTC; Z is UTC.
items[].last_spend_rowswhole numberThe last spend rows.
call_trackinglist of objectsThe call tracking.
call_tracking[].idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
call_tracking[].companyobjectThe company.
call_tracking[].company.idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
call_tracking[].company.nametextThe name, as the app shows it.
call_tracking[].providertextThe provider.
call_tracking[].account_idid (text)The id of the account.
call_tracking[].account_nametextThe account name.
call_tracking[].statustextThe job status.
call_tracking[].status_detailtextThe status detail.
call_tracking[].livetrue or falseThe live.
call_tracking[].last_synced_attime (ISO 8601, with offset)When it was last synced. Carries its offset from UTC; Z is UTC.
call_tracking[].key_hinttextThe key hint.

Connecting an account

Signing in to Google, Meta or Microsoft and choosing the ad account both happen in the app. Once connected, the account shows here.

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.
`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.
  • List campaigns: Spend by campaign for a range, with the calls, leads, lead cost, revenue and profit each one produced, and the revenue that could not be placed.
  • List agency jobs: The agency's jobs feed on a key: one row per job that opened or closed in the range, in the agency's sixteen columns, a page at a time.
  • Get agency feed: How the workspace sends closed jobs to its agency: the webhook address, the daily file, whether it is on, and the last tries.
  • The same records in the app: the Statistics panel.
  • How the API fits together: the model, API keys, errors and the MCP server.