The request
Reference for Whoami, HeadHoncho API v1. It is a read, sent to the base address https://api.headhoncho.app.
GET /api/v1/whoami
Any key or connected app can call it. It counts as a read call: 300 a minute for each key or connected app. See rate limits.
Send your key as Authorization: Bearer hh_live_.... See API keys.
Parameters
This call takes no parameters.
What comes back
The workspace, the credential, the companies it may name, its access per area, and the lookups a command needs: every status, job type and technician, with ids. Lookups are carried here so a client never has to guess a name.
It never changes a record. It only reads the companies the key reaches.
Call this first
Everything a command needs by id is here: the company, the status, the job type, the technician. A name works too where the docs say so, and the answer tells you which name it understood.
Errors that apply
| Code | Status | What it means |
|---|---|---|
| `missing_key` | 401 | Send your key as Authorization: Bearer hh_live_... |
| `unknown_key` | 401 | That key is not one we issued, or it was revoked. |
| `expired_token` | 401 | That token has expired. Refresh it, or connect the app again. |
| `rate_limited` | 429 | Too many calls this minute. Wait and try again. |
Related
- The same records in the app: Multiple companies.
- How the API fits together: the model, API keys, errors and the MCP server.