Documentation
Webhooks
A webhook sends an HTTP POST request to another service when something happens in Pluto. Use one to start an automation, notify a chat channel, or wake an AI agent when a card is ready for it. To start Claude, see Connect Claude.
A webhook belongs to a team. You set it up once in your settings, then use it in two ways:
- On a canvas. A trigger on a canvas sends it when cards there are created, updated, or deleted.
- By @mentioning it. Give it a handle, such as
Claude, and it sends when someone types@Claudein a card’s document or a comment.
Everyone in the team sees its webhooks and can add them to canvases. The person who made a webhook and the team’s admins can change or delete it. A webhook sends for the team’s own workspaces, and for other workspaces its maker can edit.
Webhooks are part of Pro, based on the team’s plan. They work with cloud workspaces only.
Set up a webhook
- Open Settings from the account menu, and go to Webhooks.
- Choose New webhook.
- Enter a name and the URL to send to. It must be a public
https://address. - Add any headers and choose the body. See The request.
- To send it by @mentioning it, check Send when a handle is @mentioned and enter a handle.
- Choose Save, then Send test to check that the other service receives it.
A team can have up to 20 webhooks. Turn one off with its switch to stop it sending everywhere at once. Deleting a webhook also removes it from every canvas that sends it.
Send it from a canvas
- Open the canvas panel and choose the gear, or choose Canvas settings in a card’s Canvas section.
- Open the Webhooks tab and choose + Add webhook.
- Pick one of your webhooks. To make a new one without leaving the canvas, pick + New webhook…, save it, and go back to the trigger.
- Pick which card events send it, and add a filter if you only want some cards.
- Choose Save.
Anyone who can edit the workspace can add their own webhooks to a canvas, and see which webhooks the canvas sends and whose they are. Only a webhook’s owner can see its URL and headers, or change what makes it send on a canvas. Anyone who can edit the workspace can remove a webhook from a canvas.
A webhook stops sending from a workspace when its owner can no longer edit it.
Agents can manage webhooks too, with the webhooks.* and webhookTriggers.* actions.
When a canvas sends it
A trigger watches the cards directly on one canvas, not cards on canvases inside them. Pick any of these events:
| Event | Sends when |
|---|---|
| Created | A card is added to the canvas. |
| Updated | A card’s title or one of its properties changes. |
| Deleted | A card is removed from the canvas. |
Moving or resizing a card, connecting cards, and editing a card’s document don’t count as updates. Sticky notes, text boxes, and frames don’t send webhooks, and neither do references to cards on other canvases.
Changes to the same card are grouped. Pluto waits until the card has been still for about two seconds, then sends one request with the result. A card created and deleted within that time sends nothing.
Filter which cards send
Add conditions under Only for cards where to send only for cards that match all of them, such as Agent status is Send to agent. Conditions work as in the query builder. A deleted card is checked as it was just before it was deleted.
With a filter, an update can send in one of two ways:
- Send once, when a card starts to match (the default). The request is sent when a card changes from not matching to matching. Further changes to a card that still matches don’t send again.
- Send on every change while a card matches. Any update to a matching card sends a request.
Send it with an @mention
A webhook with a handle shows up when anyone types @ in a card’s or canvas’s document, or in a comment, in every workspace its owner can edit. Picking it sends the webhook once:
- In a document, when the mention is added. Editing the text around it doesn’t send it again.
- In a comment, when the comment is posted, or when an edit adds the mention.
Handles start with a letter and can have letters, numbers, -, and _, up to 32 characters. Each of your webhooks needs its own handle.
The request tells the other service what was said and where, so an agent can read the card or reply in the comment thread. See A mention body.
Connect Claude
You can have Claude work in Pluto when you ask it to. A webhook starts a Claude Code scheduled task (once called a routine). Claude reads the Pluto event, does the work through the Pluto connector, and replies in Pluto.
You need Pluto Pro, and a Claude Pro, Max, Team, or Enterprise plan. Claude’s steps below follow Claude’s scheduled tasks guide, which has detailed instructions.
1. Add the Pluto connector to Claude
Add Pluto as a connector in Claude, as in Connect from Claude. The task uses it to read cards and reply.
2. Create the scheduled task
- Go to claude.ai/code/routines and choose New task. If asked, choose Set up manually.
- Enter a name, such as Pluto agent, and the prompt. See Write the prompt.
- In the Trigger row, choose API. The task doesn’t need a schedule.
- Open Advanced settings. Pick a repository only if Claude will work on code. On the Connectors tab, keep Pluto and remove the connectors the task doesn’t need.
- Choose Create. Copy the token from the API token dialog right away. It’s shown only once.
- On the task’s page, click the task’s instructions to open its settings. Copy the Fire URL from the API trigger. It looks like
https://api.anthropic.com/v1/claude_code/routines/trig_…/fire.
3. Make the webhook in Pluto
- In Settings > Webhooks, choose New webhook.
- Choose Use Claude routine. It fills in the headers, the body, and the handle
Claude. - Replace the URL with the Fire URL.
- In the
Authorizationheader, paste the token afterBearer. - Choose Save, then Send test. Under Recent deliveries, the test should show a
200response with the new run’sclaude_code_session_url. The run also shows in the task’s History in Claude.
4. Choose what starts Claude
- An @mention. Type
@Claudein a comment or a card’s document, followed by what you want. - A canvas trigger. Add the webhook to a canvas, as in Send it from a canvas, with a filter such as Agent status is Send to agent. Keep Send once, when a card starts to match, so each card starts one run.
Write the prompt
Claude gets the Pluto event as text, marked as untrusted. Claude acts on it only if the task’s prompt says to, so tell it to. For example:
Pluto starts this run with a webhook. The routine-fire-payload block holds
the Pluto event as JSON. Read it first, then use the Pluto connector.
- If type is "test", stop.
- If type is "mention", read the comment thread (comments_list) or the
card's document (cards_get), and do what the mention asks. Reply in the
same thread with comments_reply. For a mention in a document, reply in a
comment on the card.
- If type is "card.updated", the card is a task for you. Read its document,
comments, and connected cards, do the task, and comment on the card with
the result.
Keep replies short. Never @mention Claude yourself: that starts another run.
Add what Claude needs to know about your work, such as which workspaces to use, which properties to set when it starts and finishes, and where to open pull requests.
Good to know
- Each run uses your Claude plan’s usage, and acts as you in Pluto and in the task’s other connectors.
- Anyone who can edit a workspace where your handle shows can @mention it, and their words reach your task. Keep the task’s connectors to the ones it needs.
- Claude allows 30 runs an hour for each task, and 100 API runs an hour for each account. Use a canvas filter so a busy canvas doesn’t use them up.
- Claude doesn’t skip repeated requests. If Pluto retries after a timeout, it can start a second run.
- A paused task refuses requests with
400, which Pluto doesn’t retry.
The request
The request
Each request is a POST with a JSON body and these headers:
| Header | Value |
|---|---|
Content-Type |
application/json |
User-Agent |
Pluto-Webhooks/1.0 followed by the Pluto address |
Pluto-Event |
card.created, card.updated, card.deleted, mention, or test |
Pluto-Webhook-Id |
The webhook’s ID |
Pluto-Delivery-Id |
An ID for this delivery. It stays the same when a delivery is retried, so you can ignore repeats. |
Pluto-Signature |
A signature for checking the request came from Pluto. See Check the signature. |
You can add up to 10 headers of your own, such as Authorization. Values of secret headers are hidden once saved and never shown again, including to agents. A header is secret if its name contains authorization, token, secret, key, cookie, or password, or if it was marked secret through the API. To change a secret value, remove the header and add it again.
The Pluto event body
By default, the body describes the change:
{
"type": "card.updated",
"at": "2026-11-15T19:58:02.000Z",
"workspace": { "id": "f6bef1cd-…", "name": "Pluto planning" },
"canvas": { "id": "ec147e67-…", "title": "Task tracker" },
"card": {
"id": "8a2c41d0-…",
"title": "Fix the login bug",
"url": "https://app.getpluto.co/w/f6bef1cd-…?canvas=ec147e67-…&card=8a2c41d0-…",
"properties": { "Status": "Todo", "Agent status": "Send to agent", "Owner": ["Jeremy"] }
},
"changed": { "Agent status": { "from": "Needs review", "to": "Send to agent" } },
"by": { "name": "Jeremy" }
}
card.propertieshas every property of the card, including calculated ones. Person properties list names.card.urlopens the card in Pluto.changedis only in updates. It lists the title (asTitle) and properties that changed.bysays who made the change, when Pluto knows.- For a deleted card,
cardis the card as it was before it was deleted.
A mention body
For a mention, type is mention, and the body says where it was:
{
"type": "mention",
"at": "2026-11-15T20:14:40.000Z",
"workspace": { "id": "f6bef1cd-…", "name": "Pluto planning" },
"canvas": { "id": "ec147e67-…", "title": "Task tracker" },
"card": {
"id": "8a2c41d0-…",
"title": "Fix the login bug",
"url": "https://app.getpluto.co/w/f6bef1cd-…?canvas=ec147e67-…&card=8a2c41d0-…",
"properties": { "Status": "Todo" }
},
"mention": {
"handle": "Claude",
"source": "comment",
"text": "@Claude can you take this one?",
"url": "https://app.getpluto.co/w/f6bef1cd-…?canvas=ec147e67-…&comment=5d0c…"
},
"comment": { "threadId": "5d0c…", "messageId": "e1a7…" },
"by": { "name": "Jeremy" }
}
mention.sourceiscommentordocument.mention.textis the whole comment, or the paragraph of the document the mention is in.mention.urlopens the comment thread or the document.cardis the card the comment is pinned to or whose document it is. It’s missing for a comment on the canvas itself or for the canvas’s own document.commentis only there for a comment. UsethreadIdto reply with thecomments.replyaction.
A custom body
Some services want the body in a fixed shape. Choose Custom under Body and write the JSON yourself, with placeholders that are filled in each time it sends:
{
"text": "{{card.title}} was sent to the agent: {{card.url}}"
}
| Placeholder | Value |
|---|---|
{{card.title}} |
The card’s title |
{{card.url}} |
A link to the card |
{{card.id}} |
The card’s ID |
{{card.Status}} |
Any property, by its name. Multiple values are joined with commas. |
{{event.type}} |
card.created, card.updated, card.deleted, mention, or test |
{{canvas.title}}, {{canvas.id}} |
The canvas |
{{workspace.name}}, {{workspace.id}} |
The workspace |
{{by.name}} |
Who made the change or the mention, or nothing if unknown |
{{mention.text}} |
The comment, or the document’s paragraph, with the mention |
{{mention.source}} |
comment or document |
{{mention.handle}} |
The handle, without @ |
{{mention.url}} |
A link to the comment thread or the document |
{{comment.threadId}}, {{comment.messageId}} |
The comment’s thread and message |
{{event}} |
The whole Pluto event, as JSON |
Put text placeholders in quotes, like "status": "{{card.Status}}". {{event}} is the whole event: bare, like "event": {{event}}, it goes in as a JSON object; in quotes, like "text": "{{event}}", it goes in as text, escaped so the body stays valid JSON. Values are escaped for a JSON string, so a title with quotes in it doesn’t break the body. Unknown placeholders are left empty, as are card placeholders for a mention that isn’t on a card and mention placeholders for a card change. Pluto checks that a custom body is valid JSON when you save it.
The Use Claude routine preset fills in the URL, headers, and body for starting a Claude Code routine through its API trigger, with the handle Claude. Its body is {"text": "{{event}}"}, so the routine receives the whole event as text. Paste the routine’s URL and token to finish it.
Check the signature
Every webhook has a signing secret, shown in its settings. Pluto signs each request with it, so your service can check that a request came from Pluto and wasn’t replayed later.
The Pluto-Signature header looks like t=1763236682,v1=5257a869…, where:
tis the time the request was sent, in seconds since 1970 (Unix time).v1is the hex HMAC-SHA256 oft, a period, and the raw request body, using the signing secret as the key.
To check a request:
- Read the raw body before parsing it as JSON.
- Compute the HMAC of
<t>.<body>with the signing secret, and compare it tov1with a constant-time comparison. - Reject the request if
tis more than a few minutes old.
In Node.js or Bun:
import { createHmac, timingSafeEqual } from "node:crypto"
export const fromPluto = (secret: string, header: string, body: string, toleranceSeconds = 300) => {
const parts = Object.fromEntries(header.split(",").map((part) => part.split("=", 2)))
const time = Number(parts.t)
if (!Number.isFinite(time) || Math.abs(Date.now() / 1000 - time) > toleranceSeconds) return false
const expected = createHmac("sha256", secret).update(`${parts.t}.${body}`).digest()
const given = Buffer.from(parts.v1 ?? "", "hex")
return given.length === expected.length && timingSafeEqual(given, expected)
}
Retries and failures
Pluto treats a 2xx response as delivered. It doesn’t follow redirects, and it waits up to 10 seconds for a response.
When there’s no response, or the response is 408, 429, or a 5xx, Pluto tries again up to 3 more times, waiting longer each time (about 10, 20, then 40 seconds). Other responses, such as 400 or 404, aren’t retried.
Recent deliveries in the webhook’s settings, under Settings > Webhooks, shows the last 50 requests and how each went. Open one to see the body that was sent and the start of the response, including the reason a service gave for refusing it. Choose Retry on a failed one to send it again.
If 20 deliveries in a row fail, the webhook turns itself off and the person who made it gets an email, or the team’s admins if they’ve left. Fix the problem, then turn it back on in Settings > Webhooks.
If the team’s plan changes from Pro to Free, its webhooks stay saved but stop sending until it upgrades again.