Claude Routines

Trigger Claude Code Routines from Statused notifications.

Claude Code Routines are Anthropic-managed cloud sessions of Claude Code that run on a schedule, in response to GitHub events, or when called via API. Pointing a Statused destination at a routine lets you turn an app or build status change into real work — auto-investigate a regression the moment a build goes invalid, draft a PR when your app enters review, post a structured summary to your release channel once a rollout completes, or anything else you can describe to Claude.

Prerequisites

  • A Claude Pro, Max, Team, or Enterprise plan with Claude Code on the web enabled.
  • A routine created at claude.ai/code/routines with an API trigger configured.

Setup

Create a routine with an API trigger

In Claude, go to claude.ai/code/routines and create a new routine (or open an existing one). Write the prompt you want Claude to run on each fire — for example, "Investigate why our iOS app's latest build was rejected and draft a fix PR."

Add an API trigger to the routine. This is what lets Statused start a run.

Copy the URL and generate a token

From the API trigger's settings:

  1. Copy the trigger URL. It looks like https://api.anthropic.com/v1/claude_code/routines/trig_.../fire.
  2. Click Generate token and copy the bearer token. It starts with sk-ant-oat01-....

The token is shown only once

Anthropic displays the bearer token a single time. If you lose it, generate a new one from the same trigger — old tokens can be revoked from the same screen.

Add the destination in Statused

  1. In your dashboard, go to DestinationsAdd Destination.
  2. Select the Claude Routines tab.
  3. Paste the Routine URL and the Bearer Token.
  4. Hit Add Destination.

Attach it to a workflow

Open or create a workflow under Workflows, pick your app, and select the new Claude Routines destination. From now on, every matching app or build status change will fire the routine.

How notifications are delivered

When a workflow fires, Statused makes a POST request to your routine URL with these headers:

HeaderValue
AuthorizationBearer <your token>
anthropic-betaexperimental-cc-routine-2026-04-01
anthropic-version2023-06-01
Content-Typeapplication/json

The body is a single field:

{
  "text": "The status of your app Markdown Email changed to Ready for Sale"
}

Anthropic delivers text to your routine as run-specific context alongside the prompt you saved in the routine itself. You can reference it in the prompt as you would any other input — for example, "Use the status change in the trigger context to decide whether to open an issue."

Rotating the token

To rotate the bearer token, generate a new one from the routine's API trigger page in Claude, then open the destination's Edit page in Statused and paste the new value. The next notification will use the updated token.

Troubleshooting

Beta header may change

The anthropic-beta: experimental-cc-routine-2026-04-01 header reflects the current API surface for routines. If Anthropic publishes a new beta version, we'll update it on our side — but if you start seeing issues, reach out and we'll make sure your integration is up to date.