routines-fire changedapi/claude-code/routines-fire
Nearest release: v2.1.307, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+7added
Lines−7removed
From line
47
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits7to this page, all time
The whole hunk
from line 47, old and new numbered
/
from line 47
4747```bash cURL
4848curl -X POST https://api.anthropic.com/v1/claude_code/routines/$ROUTINE_ID/fire \
4949 -H "Authorization: Bearer $ROUTINE_TOKEN" \
50 -H "anthropic-version: 2023-06-01" \
50 -H "anthropic-version: 2026-10-21" \
5151 -H "Content-Type: application/json" \
5252 -d '{"text": "Sentry alert SEN-4521 fired in prod. Stack trace attached."}'
5353```
from line 60
6060 run: |
6161 curl -X POST "$ROUTINE_FIRE_URL" \
6262 -H "Authorization: Bearer $ROUTINE_FIRE_TOKEN" \
63 -H "anthropic-version: 2023-06-01" \
63 -H "anthropic-version: 2026-10-21" \
6464 -H "Content-Type: application/json" \
6565 -d "{\"text\": \"CI failed: $GITHUB_WORKFLOW run $GITHUB_RUN_ID on $GITHUB_REF\"}"
6666```
from line 69
6969
7070### Headers
7171
72| Name | Required | Description |
73| ------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------- |
74| `Authorization` | Yes | `Bearer <token>`. The per-routine token created in the Claude Code web UI, prefixed `sk-ant-oat01-`. |
75| `anthropic-version` | Yes | The [API version](https://platform.claude.com/docs/en/api/versioning). `2023-06-01` is the only accepted value. |
76| `Content-Type` | When body is present | `application/json`. |
72| Name | Required | Description |
73| ------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
74| `Authorization` | Yes | `Bearer <token>`. The per-routine token created in the Claude Code web UI, prefixed `sk-ant-oat01-`. |
75| `anthropic-version` | Yes | The [API version](https://platform.claude.com/docs/en/api/versioning), such as `2026-10-21`. The endpoint accepts every version from `2023-06-01` on and behaves the same in each. |
76| `Content-Type` | When body is present | `application/json`. |
7777
7878Older integrations that send an `anthropic-beta: experimental-cc-routine-2026-04-01` header are unaffected: the endpoint accepts requests with and without it.
7979
No line in this hunk matches that.