# List calendar reassignments

List calendar reassignments is a read in the HeadHoncho API. Every reassignment on a job booked in a window: open ones, and ones that closed today.

Page: https://headhoncho.app/docs/api/list_calendar_reassignments | Part of the HeadHoncho API docs: https://headhoncho.app/docs/api | Machine-readable: https://headhoncho.app/docs/api/openapi.json | Everything in one file: https://headhoncho.app/docs/api/llms-full.txt

## The request

Reference for **List calendar reassignments**, HeadHoncho API v1. It is a read, sent to the base address `https://api.headhoncho.app`.

`GET /api/v1/calendar/reassignments`

The key needs the **Jobs** area at **read**. An answered call costs 1 credit; a refusal costs nothing. See [credits](https://headhoncho.app/docs/api/errors#credits).

Send your key as `Authorization: Bearer hh_live_...`. See [API keys](https://headhoncho.app/docs/api/keys).

## Parameters

| Name | Kind | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `company_id` | id, in the query | No | One company. Default: every company the credential reaches. | `cmp_14f5` |
| `from` | date, in the query | No | The first day. Default: the first of this month. | `2026-10-01` |
| `to` | date, in the query | No | The last day, inclusive. Default: the end of that month. | `2026-10-31` |

## 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.

Paste your key on the web page and it fills a cURL line and a fetch line with your key and the example values. The page never sends the key anywhere. The same lines with a placeholder key are under Examples below.

## What comes back

from, to and items, earliest first. Each item: pair (a number, counted in this answer), job_id, job_number, from and to (worker id and name), reason, state, step, open, started_at and closed_at. A reassignment that ended on an earlier day is not listed; read it on the job.

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.

| Field | Type | Meaning |
| --- | --- | --- |
| `from` | date (YYYY-MM-DD) | The first day of the range, inclusive. |
| `to` | date (YYYY-MM-DD) | The last day of the range, inclusive. |
| `items` | list of objects | The rows on this page. |
| `items[].pair` | whole number | The pair. |
| `items[].job_id` | id (text) | The id of the job. |
| `items[].job_number` | whole number | The job number people say out loud. |
| `items[].from_worker_id` | id (text) | The id of the from worker. |
| `items[].from_worker_name` | text | The from worker name. |
| `items[].to_worker_id` | id (text) | The id of the to worker. |
| `items[].to_worker_name` | text | The to worker name. |
| `items[].reason` | text | The reason given. |
| `items[].state` | text | The state or region. |
| `items[].step` | text | The step. |
| `items[].open` | true or false | The open. |
| `items[].started_at` | time (ISO 8601, with offset) | When it was started. Carries its offset from UTC; `Z` is UTC. |
| `items[].closed_at` | time or null | When it was closed. |

## Errors that apply

| Code | Status | What it means |
| --- | --- | --- |
| [`missing_key`](https://headhoncho.app/docs/api/errors#missing_key) | 401 | Send your key as Authorization: Bearer hh_live_... |
| [`unknown_key`](https://headhoncho.app/docs/api/errors#unknown_key) | 401 | That key is not one we issued, or it was revoked. |
| [`no_access`](https://headhoncho.app/docs/api/errors#no_access) | 403 | This credential does not reach that. Ask the person who made it for access. |
| [`not_found`](https://headhoncho.app/docs/api/errors#not_found) | 404 | No such record in the companies this credential reaches. |
| [`out_of_scope`](https://headhoncho.app/docs/api/errors#out_of_scope) | 404 | No such company in the companies this credential reaches. |
| [`invalid`](https://headhoncho.app/docs/api/errors#invalid) | 422 | Some fields were refused. See fields. |
| [`no_credits`](https://headhoncho.app/docs/api/errors#no_credits) | 402 | Out of credits. Top up on Settings › Credits, or turn on auto top-up. |

## Related

- [List jobs](https://headhoncho.app/docs/api/list_jobs): Jobs and leads in the companies this credential reaches, newest first, with status, technician, schedule, money and the ad click each came from.
- [Get job](https://headhoncho.app/docs/api/get_job): One job or lead: who, where, when, which status, which technicians, the money on it and the ad click it came from.
- [Get job history](https://headhoncho.app/docs/api/get_job_history): Everything that happened to a job, in order, with who did it: created, moved, assigned, noted, paid. The same log the job page shows.
- [Get job log](https://headhoncho.app/docs/api/get_job_log): A job's timeline in plain words, one line per thing that happened: notes, moves, texts, money, the rules and the AI, each with who did it.
- [List situations](https://headhoncho.app/docs/api/list_situations): The situations the AI dispatcher is working on jobs now: what came up, the plan, and which step it is on.
- [List job photos](https://headhoncho.app/docs/api/list_job_photos): The photos stored on a job, oldest first, each with a link that opens it for one minute.
- [Get photo](https://headhoncho.app/docs/api/get_photo): One stored photo and a fresh link to its file. The link works for one minute.
- [Get calendar](https://headhoncho.app/docs/api/get_calendar): Every job with a booked time between two days, earliest first. Canceled and closed jobs are left out, as on the app's calendar.
- [List unscheduled jobs](https://headhoncho.app/docs/api/list_unscheduled_jobs): Open jobs and leads that have no booked time yet, the ones that waited longest first.
- [Export jobs](https://headhoncho.app/docs/api/export_jobs): Jobs as a CSV file, newest first, up to 10,000 rows: ticket, technicians, status, dates, address, customer and price.
- [Search jobs](https://headhoncho.app/docs/api/search_jobs): Find jobs by ticket number, customer, address or technician name, and technicians by name.
- [Get automatic status](https://headhoncho.app/docs/api/get_automatic_status): Whether a person set this job's status by hand, why its facts do not hold it, and where Back to automatic would put it.
- [Get job detour](https://headhoncho.app/docs/api/get_job_detour): Whether a job is on a detour, such as Waiting on parts, and where Resolve would put it.
- [List job reassignments](https://headhoncho.app/docs/api/list_job_reassignments): The times this job was handed from one technician to another, oldest first, and how far each one got.
- The same records in the app: [the Jobs panel](https://headhoncho.app/docs/jobs).
- How the API fits together: [the model](https://headhoncho.app/docs/api/model), [API keys](https://headhoncho.app/docs/api/keys), [errors](https://headhoncho.app/docs/api/errors) and [the MCP server](https://headhoncho.app/docs/api/mcp).

## Examples

### Answer

```json
{
  "from": "2026-10-01",
  "to": "2026-10-31",
  "items": [
    {
      "pair": 1,
      "job_id": "job_1138",
      "job_number": 1138,
      "from_worker_id": "wrk_3b90",
      "from_worker_name": "Dana R.",
      "to_worker_id": "wrk_7a12",
      "to_worker_name": "Omar S.",
      "reason": "Truck in the shop",
      "state": "taking",
      "step": "Taking it",
      "open": true,
      "started_at": "2026-10-16T08:50:00-05:00",
      "closed_at": null
    }
  ]
}
```

### cURL

```bash
curl "https://api.headhoncho.app/api/v1/calendar/reassignments?company_id=cmp_14f5&from=2026-10-01" \
  -H "Authorization: Bearer hh_live_..."
```

### Python

```python
import requests

response = requests.get(
    "https://api.headhoncho.app/api/v1/calendar/reassignments",
    headers={"Authorization": "Bearer hh_live_..."},
    params={
        "company_id": "cmp_14f5",
        "from": "2026-10-01",
    },
)
response.raise_for_status()
print(response.json())
```

### JavaScript

```javascript
const response = await fetch("https://api.headhoncho.app/api/v1/calendar/reassignments?company_id=cmp_14f5&from=2026-10-01", {
  headers: { Authorization: "Bearer hh_live_..." },
});
const data = await response.json();
console.log(data);
```

### Your AI

```text
Tool: list_calendar_reassignments
Arguments: company_id (id, optional), from (date, optional), to (date, optional)
Access: read on Jobs
Hints: readOnly=true, destructive=false, idempotent=true, openWorld=false
Try asking: "Using HeadHoncho, list calendar reassignments with company_id cmp_14f5."
```
