https://sreagent.app and takes a POST. Replace <token> with your organization’s webhook token. You find the token, and a ready-made URL for each source, on Integrations, Webhooks tab.
Endpoints
Fix pull requests, including the Jira, Zoho Sprints and fix request routes, need the Business plan and the GitHub App installed. See Plan matrix.
How authentication works
The token in the URL decides which organization receives the request. A token that does not match any organization, or one whose organization is disabled, always gets the same404 with “Invalid webhook token”, so the endpoint never confirms whether a token exists.
Grafana, Datadog, New Relic and PagerDuty alerts must be signed once you have an approved runbook that runs automatically. Requests without a valid signature from those sources then answer 401. You set PagerDuty and GitHub signing secrets under Integrations, Webhooks tab. For Grafana, Datadog and New Relic, contact support to enable signing. Once a PagerDuty or GitHub secret is saved, every request must carry a matching signature or it is refused with 401. Without a saved secret, GitHub accepts requests on the token alone, and the tab shows a warning saying so.
CloudWatch and CloudTrail deliver through SNS, which signs its own messages. When signature checking is enabled for your organization, an unsigned message or a direct alarm payload that did not come through SNS is refused.
Rotating the token
Choose Rotate token on the Webhooks tab to get a new URL. The old URL keeps working for 72 hours so you can move your senders over, then answers404. Revoke now stops the old URL immediately.
Response codes
Ops board cards, updates, comments and reads
The ops board endpoints work on any plan, including Free. A card opened here lands in Triage with no author. Anystatus, source or author you send on create is ignored.
Open a card
title is required. A 201 answers with the card’s id, its key (for example OPS-12) and its url. priority is one of urgent, high, normal or low, and any other value becomes normal. assignee_email assigns the card when it matches a member of your organization and never invites anyone. Field sizes are on Limits.
Update a card or add a comment
Use either the cardid or its key in the path. The key is matched without regard to case, and only within your organization.
status is one of backlog, triage, todo, in_progress, blocked or done, and the usual synonyms work. won't do, wontfix and cancelled archive the card without counting it as done. An unknown status or priority on update answers 422 rather than guessing.
A comment needs a body. author is a display name shown beside it and is not matched against your members.
resolution states how a card ended. completed moves it to Done, the same as "status": "done". An archived card is refused with 422 until you restore it to the board. wont_do archives it as won’t do, and takes wont_do_reason the same way the won’t-do status spellings do. Anything else answers 422. If you send a status too, it must mean the same thing.
Read a card, or the cards that changed
A sender that mirrors the board can read it back instead of replaying moves. Both reads use the same token, spend the same per-minute budget as the writes, and answer403 when the plan has no ops board.
id, key, title, status, resolution, wont_do_reason, assignee_ids, labels, due_date, archived, updated_at and approvals, and nothing else: no description, comments, emails or tokens. approvals lists the card’s approval requests, newest first, each with id, status (pending, approved, rejected, withdrawn or expired), approver_user_id, approver (a name, null for a member with no name or whose name is an email address), note, requested_at, requested_by (a person, or an integration with the API key’s name), holds_fixes, decided_at, decided_via and withdrawn_by (who withdrew a withdrawn approval, by name, or null). Asking for an approval, and deciding, withdrawing or expiring one, mark the card as changed. resolution is wont_do for a card closed as won’t do, completed for a card in Done, and null otherwise. A won’t-do card keeps the column it was in and has archived set to true; restoring it to the board makes resolution null again.
The list answers {"cards": [...], "next_cursor": "..."} with the cards in that shape, ordered by updated_at, archived ones included. updated_since is an ISO 8601 instant with a zone, exclusive, and writing a + offset in a URL needs %2B. Leave it out to read from the beginning. limit is 1 to 200 and defaults to 100. Send next_cursor back as cursor, with the same updated_since, to get the next page; null means you have the last one. A card is served only once its updated_at is at least 5 seconds old, so a poll never skips a write that was still committing and a card you just changed shows up in the list a few seconds later. To stay current, remember the largest updated_at you have read, send it as updated_since next time, and dedupe what comes back by id plus updated_at. Renaming or deleting a label counts as a change to every card it touched. A malformed updated_since, limit or cursor answers 422 with a sentence.
Idempotency keys
Without a key, every POST opens a new card, and a sender that retries creates duplicates. To make a delivery safe to repeat, send your own id for it. A card accepts the id as anIdempotency-Key header or a dedup_key field in the body. If both are present, the header wins. When the body is an SNS notification, its message id is used automatically. A comment takes comment_id.
The first delivery answers 201. Every repeat answers 200 with the same body and "duplicate": true, and nothing else happens: no second card, notification or Slack post. A key is up to 200 characters of letters, digits and . _ - : / + = @. Anything else, including a blank key, answers 422. Keys belong to your organization and never expire, so use a new key when you mean a new card.
Card endpoint responses
Deployments
event_type defaults to deploy and status to succeeded. You can also send previous_version, deployed_by, description, commit_sha, repo_full_name, pr_url, compare_url, run_url, branch, author, started_at and completed_at. Posting the same dedup_key again, for example from the start and the end of one CI run, updates the same timeline entry. A success answers 200 with {"status":"ok","id":"...","action":"..."}, and a payload that cannot be recorded answers 422.
Fix requests
description is required. service or repo pins the target repository. Sending the same dedup_key or ticket again replaces the earlier request instead of opening a second pull request. A 202 with {"status":"analyzing","id":"..."} means the request was queued, not that a pull request will follow. The 202 also carries expected_dispatch: {"expected":"runs"|"waits"|"on_sre_agent","reasons":[...],"sentence":"..."}. waits means the request will wait for a person because the repository is set to hold fix requests (repository), for a pending approval of the card named in board_ticket_id (approval), or because your fix runner’s AI provider keeps refusing and the repository keeps its code on your machines (runner_down). on_sre_agent means SRE Agent’s runner will run it because your own runner’s provider keeps refusing. sentence is the same words a person would read, in your organization’s language (English by default, or Spanish), and null when the request runs; expected and reasons are always the English values. A request that names no repository gets nothing to say about the runner. It is a forecast read when the request is accepted; the job still decides. See See when a fix request will wait. The result, a draft pull request or a decline with reasoning, appears in Control Tower. A 422 means it was refused before analysis, with a reason such as the GitHub App not being installed, a target that matches nothing you mapped, or five open pull requests already on that repository. A request for a repository that keeps its code on your own fix runner can wait while that runner’s AI provider keeps refusing; its status stays analyzing until it is sent, or discarded by an organization admin, which ends it declined. See When your runner’s AI provider keeps refusing.
Jira
Jira answers200 for an issue it accepts and for one it ignores, so Jira does not disable the webhook over a configuration problem. {"status":"ok"} means a fix pull request is being generated, and carries expected_dispatch, the same field the fix request webhook answers, so you can see whether the request will run, wait or run on SRE Agent’s runner. Its sentence is in your organization’s language. Zoho Sprints answers the same. {"status":"ignored"} carries the reason: the issue has no sre-agent-fix label, the GitHub App is not installed, the target matches nothing you mapped, or the repository is at its limit of open pull requests. A wrong token answers 404, and a payload with no summary answers 422.
Related
- Quickstart: send a first test alert.
- Connect PagerDuty: set up the PagerDuty signing secret.
- Ops board webhook and tracker sync: use the ops board webhook step by step.
- Troubleshooting: fix a failing webhook.