# All API calls

Each call the API has, made from the same rules the server uses.

Each group has its own page with fields, curl and TypeScript. This list is built from the API's own schema, so it stays in step.

- `GET /me` Show this key and workspace
- `GET /overview` Main numbers
- `GET /timeseries` One number for each day
- `GET /funnel` Click, form, booking, sale
- `GET /channels` Channel report
- `GET /content` Content report
- `POST /content` Add custom content
- `GET /content/{id}` One item
- `PATCH /content/{id}` Edit custom content
- `GET /campaigns` List campaigns
- `POST /campaigns` Make a campaign
- `GET /links` List links
- `POST /links` Make a link
- `POST /links/batch` Make up to 100 links
- `GET /links/{id}` One link
- `PATCH /links/{id}` Edit a link
- `DELETE /links/{id}` Turn a link off
- `GET /links/{id}/clicks` Clicks on one link
- `GET /links/{id}/qr` QR code picture
- `GET /domains` Link domains
- `GET /people` List people
- `POST /people` Add or update a person
- `POST /people/merge` Merge two people
- `GET /people/{id}` One person
- `PATCH /people/{id}` Change stage or owner
- `GET /people/{id}/journey` Timeline
- `GET /people/{id}/score` Score and reasons
- `GET /people/{id}/notes` Notes
- `POST /people/{id}/notes` Add a note
- `POST /people/{id}/erase` Erase a person
- `POST /people/{id}/split` Undo a merge
- `GET /hot-leads` Hot list
- `GET /sales` List sales
- `POST /sales` Add a trusted sale
- `GET /sales/{id}` Sale and proof
- `PATCH /sales/{id}/credit` Choose credit by hand
- `DELETE /sales/{id}/credit` Go back to the rules
- `POST /sales/{id}/refunds` Add a refund
- `POST /events` Add a form, booking, signup or custom event
- `POST /events/batch` Add up to 100 events
- `GET /health` Tracking health
- `POST /health/check` Check one of your pages
- `GET /automations` List automations
- `POST /automations` Make an automation
- `GET /automations/{id}` One automation
- `PATCH /automations/{id}` Edit an automation
- `DELETE /automations/{id}` Delete an automation
- `POST /automations/{id}/test` Send a test
- `GET /automations/{id}/runs` Last 100 runs
- `POST /automations/runs/{id}/retry` Try a failed run again
- `POST /exports` Start an export
- `GET /exports/{id}` Status and a short-lived file
- `GET /openapi.json` API file
