Webhooks into a task list
A webhook is a secret URL that belongs to one task list. Anything that posts to it becomes a task in that list. Use it to turn new Bugsnag errors into tasks, or to file tasks from n8n, Zapier, GitHub Actions or your own scripts.
Create a webhook
Section titled “Create a webhook”- Open the project and find the task list.
- Open the list’s ⋯ menu and pick Webhooks.
- Give it a Name if you like, say “Production API”. Leave it empty and the list shows the source instead.
- Pick a Source: Bugsnag, or Custom (JSON) for anything you control.
- Click Create URL and copy the URL.
Copy it right away. The URL is the password, so Cavyro only shows it once. If you lose it, delete the webhook and create a new one.
The same dialog lists every webhook on the list, who added it, and when it last received something.
Who can do what
Section titled “Who can do what”- Anyone in the workspace can create a webhook and see the list’s webhooks.
- Members can delete the webhooks they made.
- Admins and owners can delete any webhook.
Tasks a webhook files show Bugsnag or Webhook as their author, not a person. The person who created the webhook still owns those tasks for notifications, so they hear about them.
A webhook stops working when its list or project is deleted, or when the person who created it leaves the workspace. It also pauses while the workspace’s subscription is inactive.
Bugsnag
Section titled “Bugsnag”Each Bugsnag error becomes one task. When the same error comes back, Cavyro doesn’t file a duplicate:
- A spike, a frequency milestone or an auto-reopen adds a comment to the existing task.
- If the task was already done, it reopens with a comment that Bugsnag reported it again.
- Ordinary repeat events on an open task stay quiet.
Priority follows the error: an unhandled error is High, a handled error is Medium, warnings and info are Low. The task description carries the error message, context, severity, release stage, a link back to Bugsnag, and the stack frames from your own code.
Set it up in Bugsnag
Section titled “Set it up in Bugsnag”- In Cavyro, create a webhook with the Bugsnag source and copy the URL.
- In Bugsnag, open the project’s Settings, then Integrations and email, then Data forwarding.
- Add a Webhook and paste the URL.
- Turn on these notifications: new error, error auto-reopened, project spiking, and frequent errors (the milestone one).
- Leave every time an error occurs off. It doesn’t create anything new, it only adds traffic.
- Save, then use Bugsnag’s test button to send a sample. A task shows up in your list.
One Bugsnag project per webhook keeps things easy to follow. If you have several apps, give each its own list and its own webhook.
Custom (JSON)
Section titled “Custom (JSON)”For senders you control, post a JSON body to the URL. Only title is required.
| Field | What it does |
|---|---|
title |
The task title. Required to file a new task. |
description |
The task description. HTML is fine. |
priority |
none, low, medium, high or urgent. Anything else means none. |
external_id |
Your own ID for the thing. A second post with the same ID updates that task instead of filing a new one. |
state |
closed completes the task. Anything else reopens it if it was done. |
comment |
Added to the task as a comment, when you post again with the same external_id. |
curl -X POST "https://api.cavyro.com/hooks/your-secret-token" \ -H "Content-Type: application/json" \ -d '{"title": "Server is down", "priority": "high", "external_id": "incident-42"}'Close it later with the same ID:
curl -X POST "https://api.cavyro.com/hooks/your-secret-token" \ -H "Content-Type: application/json" \ -d '{"external_id": "incident-42", "state": "closed", "comment": "Back up after a restart."}'The response tells you what happened: {"status": "processed", "task_key": "OPS-12"} when a task was filed or updated, or "ignored" when there was nothing to do.
Each URL accepts up to 120 requests a minute.
Webhooks out of Cavyro
Section titled “Webhooks out of Cavyro”This page is about getting things into a task list. To send Cavyro events to another tool, see Webhooks, managed from Settings → Webhooks.