Skip to main content
A webhook target can receive what happens to your cards as it happens: a card created, moved between columns, assigned, commented on, given a checklist change, linked, closed or reopened. Approvals on a card are card events too. This page is the reference for a receiver that wants the rest. Free plan Nothing is sent that a person did not choose. Every target, new or old, receives approvals only until an organization admin ticks more kinds on it, and a target receives no text a person wrote until its text switch is on.

Turn it on

In Settings, Outbound Alerting, edit a webhook target:
1

Tick Send card events here

Only webhook targets can have card events. Only your organization’s own targets receive them, and the demo organization sends none.
2

Choose the kinds

Under Kinds of card event to send, tick the groups the receiver wants. Approvals is ticked by default and you can untick it. At least one group must be ticked while card events are on.
3

Decide on text

Leave Include comment and checklist text unticked unless the receiver should hold the words your people write. See Text is off by default.
Over MCP, use card_events, card_event_kinds and card_event_text on create_outbound_config and update_outbound_config. get_outbound_config and list_outbound_configs answer all three. The configuration API has the same fields on outbound_configs. The Terraform provider does not declare card_event_kinds and card_event_text yet, so a configuration managed with Terraform leaves them as they are in the app. Changing these settings needs the same role as any outbound target: an organization admin, or an API key with mcp:admin or api:admin. A support session cannot choose more kinds, switch the text on, move the URL of a target that sends card events, or switch such a target back on, because each of those hands your card text to a URL. It can switch them off. Checklist, link and child card changes go only to a target that ticked Checklists or Links and child cards. For everyone else they stay quiet, as checklists and links describes. The approval events are described in Ops board webhook and tracker sync.

What starts when

A target hears only what happens after it started receiving. These moments are stored on the target, and nothing older is ever sent to it:
  • You turn card events on.
  • You switch a target that has them on from disabled to enabled.
  • You tick the first kind other than Approvals on a target that had only approvals.
So a target that was switched off for a week hears nothing of that week when it comes back, and the first change after you switch it on is sent even when it is the first change in your organization. Ticking a further kind on a target that already receives other kinds does not move that moment. The new kind is sent from where SRE Agent has read your cards up to now, which can include changes made in the minute before you ticked it. Unticking every kind but approvals and ticking one again starts over from that moment. Nothing older than 6 hours is sent to any target, so a pause on our side never floods a receiver when it comes back. There is no replay. A receiver that wants to reconcile reads the board read of the ops board webhook with updated_since. An event is sent a few seconds after the change. The change must be at least 5 seconds old before it is read, and the read runs about 10 seconds after the card changed and at least once a minute. A change whose database transaction commits more than 5 seconds after it was recorded can be missed. This is rare, and the board read finds it. A card moved to another organization is told to each side separately. The source organization receives card.closed with resolution archived, and the destination receives card.created. Neither is sent anything that names the other organization, its card or its comments. A target of an organization that is deleted or suspended is sent nothing, and when the organization is restored it is not sent what happened while it was away. Cards that arrive through an import, such as a CSV import, send no card.created. A card a recurring schedule opens is not an import. It sends card.created, then card.assignees_changed when it has an assignee, then one card.checklist_changed for the template’s items, like a card a person made.

The events

Each event is one POST of a JSON body to the target’s URL. The shape is the same for every event, and the change object is the fact.
card is the card as it stands when the event is sent: id, key, title, status (its column), archived and resolution (completed, wont_do or null). It never holds the description, labels, assignee addresses or any other field. Read change for what happened, not card, because a card can change again before an event is sent. A move into Done sends card.moved and then card.closed, with different ids. A move out of Done sends card.moved and then card.reopened. Restoring an archived card sends card.reopened. Archiving a card, or closing it as won’t do, sends card.closed with the resolution that says which.

Checklist changes are batched

The checklist entries of one card inside one dispatch run are one card.checklist_changed, so a burst, such as an agent filling in a plan, is a few events a minute for a card and not hundreds. Its occurred_at is the newest entry and first_occurred_at the oldest. The actor is the newest entry’s. changes lists up to 50 entries, oldest first. Each has an item_id and a change: added, changed, removed, moved, produced, promoted or template_applied. Where they apply, state_from and state_to are there too. The items a template added are one entry with change template_applied, a count, a template_id and, with text on, the template’s name as text. more says how many entries were left out of the list. checklist_counts is the checklist as it stands when the event is sent.

Who acted

actor has one of five shapes. A name is never an email address: a person with no name, or whose name is an address, reads "name": null. A comment written by a person whose account has since been deleted names a person with user_id and name both null.

Text is off by default

By default an event carries ids, the card’s key and title, its column and who acted, and nothing a person typed beyond the title. With Include comment and checklist text ticked (card_event_text), it also carries:
  • The comment body, cut to 4,000 characters (body_truncated says it was cut). It is read from the comment again when the event is sent, so a comment deleted in between is sent without its words and an edited one with its current words.
  • A checklist change’s item text and note, as the activity feed keeps them, at most 80 characters.
  • The wont_do_reason of a card closed as won’t do.
A card.commented event queued while the text was off is sent with the comment’s words if you switch the text on before it is sent. If you switch the text off after an event was queued and before it was sent, the text is removed from that delivery too. Those are your people’s words, sent to the URL you entered. Leave the switch off unless the receiver should hold them. No event ever carries a description, an email address, a checklist owner, a token or any id of another organization.

Limits

  • Per hour, your organization is sent at most 1,000 events (counted once for an event, before it goes to each target that wants it), and one target at most 1,000 deliveries. An event over either limit is not sent and is counted. Under the target, Settings says “N card events were not sent in the last hour because of the limit of 1,000 an hour.” The windows are the clock hour, so the count shown is for the current hour. Approvals are not counted against either limit.
  • A change that cannot be read into an event is skipped. Settings says “N card events could not be read in the last hour and were skipped.” under the targets that asked for that kind of event. The rest of your organization is not held back by it.
  • A comment body is cut at 4,000 characters, and a checklist event lists at most 50 entries.
  • One run of SRE Agent on a card causes at most about 230 events in its whole life at the default limits and about 25 in one step. Ten runs at once can use an organization’s 1,000 events an hour.
A change made to many cards at once from the board table is sent card by card, as the same single changes are. Moving 200 cards to Done is up to 400 events (a move and a closing for each card) and counts against the hourly limits like any other change. Three such changes in one hour pass the organization’s limit.

Delivery

Delivery works as it does for approvals.
  • Signed. The request carries SRE-Agent-Signature, made with your organization’s request signing key. See Verify requests from SRE Agent.
  • The target’s bearer token goes in Authorization: Bearer <token> when the target has one. Content-Type is application/json.
  • At least once. Dedupe on id. It is built from the card change it describes, so it is the same for every attempt and every target, and different for each event of one change.
  • Not in order. Order the events of one card by occurred_at.
  • Answer with a 2xx. Anything else, a redirect included, is a failed attempt. An attempt ends after 10 seconds.
  • Retried for about four hours, ten attempts in all. A target that is switched off, deleted, or no longer asks for the event’s group stops receiving at once, and the attempts still waiting are dropped.
  • Every attempt is logged under Recent Card Events on the Outbound Alerting tab and in list_outbound_deliveries, which names the event and the ticket_id. The bodies are not logged.

What is not sent

Edits of a title, description, priority, labels or due date, comment edits, reactions, watchers, the pairing with a tracker, and the movement of a card to or from another organization beyond what is described above.