Dashboard
Integrations
Connect Linear, GitHub Issues or a webhook to a project, read the delivery log, and verify a webhook.
Connecting
There are two levels. A connection belongs to your organisation: one Linear workspace or one GitHub account, connected once under Settings → Integrations. A destination belongs to a project: it sends through a connection and chooses only the team or repository and the labels. On a project’s Integrations page, adding a destination means picking a connection your organisation already has or connecting a new one right there. A project can have up to 10 destinations. Owners and admins can connect and change them; everyone else can see them and the delivery log. Credentials are encrypted and never shown again.
| Destination | How to connect | What it does |
|---|---|---|
| Linear | Connect Linear (OAuth), where the server offers it, or paste a personal API key from Linear → Settings → Security & access. | Creates an issue for every finished report, in the team you pick. |
| GitHub Issues | Install the GitHub App, where the server offers it, or paste a fine-grained token with Issues: read and write on the repositories you want reports in. | Opens an issue in the repository you pick, with your labels. |
| Webhook | Enter an https endpoint and choose the events. The signing secret is shown once. Webhooks belong to one project and use no connection. | Sends each event as signed JSON to your own system. |
Each connect dialog links to the page where the key or token is made. Use Test connection (a connection or a destination) or Send test event (webhook) to check one. The answer stays on the card (Last test passed or why it failed), and a test also shows as a row in the delivery log marked Test.
A destination can be paused and resumed while you fix something. A paused destination holds reports and sends them when you resume. Removing a destination cancels its pending deliveries and leaves the connection for your other projects. Issues already created stay where they are.
Disconnect on a connection removes it and every project’s destination that sends through it, and cancels what they had queued; Showbug asks Linear to revoke an OAuth grant, while a key or a token is only forgotten here, so revoke it at the provider too. If a provider refuses a connection’s credentials (a revoked key, an uninstalled App), the connection reads Needs reconnecting, the destinations sending through it read Reconnect, and nothing is sent until it is connected again.
The delivery log
Every report that finishes makes one delivery per destination. The project’s Integrations page lists them, newest first, with the report’s title linking to the session.
| Status | Meaning |
|---|---|
Pending | Waiting for its first try, or for the next one after a failure. |
Sending | A worker has it right now. |
Delivered | The tracker or your endpoint accepted it. |
Failed | Out of tries, or refused for good. Admins can retry it. |
Cancelled | The destination was removed first. |
- 1 of 12 tries counts the sends so far against the most a delivery gets.
- Expand a row for its ids, the HTTP status, how long it took and the raw error. A destination only shows a red
Last errorwhile no delivery has succeeded since. - Filter by status. A session’s own page lists its deliveries under the Ticket section.
Webhooks
Showbug sends a POST with a JSON body to your endpoint for each event you chose. Answer with any 2xx within 10 seconds. These headers come with it:
| Header | Value |
|---|---|
Content-Type | application/json |
Showbug-Event-Id | The same on every retry of one event. Use it to ignore duplicates. |
Showbug-Signature | t=<unix>,v1=<hex>: the hex HMAC-SHA256 of {t}.{raw body} with your whsec_… secret. |
Rotate secret makes a new one. For 24 hours each delivery carries two v1= values, so you can switch your receiver over without dropping events.
Events and payload
| Event | Sent when | data |
|---|---|---|
session.completed | a session ends | session_id, project_id, org_id, session (url, started_at, ended_at, recording_url) and report (title, summary, expected, actual, repro_steps, severity…) |
ticket.created | a Linear or GitHub issue was made for the session | ticket (provider, external_id, url) |
ping | you press Send test event | destination_id and a short message |
{
"id": "evt_0123456789abcdef",
"type": "session.completed",
"created_at": "2026-11-28T10:00:00.000Z",
"data": {
"session_id": "ses_…",
"project_id": "prj_…",
"org_id": "org_…",
"session": {
"url": "https://app.example.com/settings/billing",
"started_at": "2026-11-28T09:58:00.000Z",
"ended_at": "2026-11-28T10:00:00.000Z",
"recording_url": "https://showbugai.com/dashboard/org_…/sessions/ses_…"
},
"report": {
"title": "Save button does nothing on the billing page",
"summary": "The user changed the billing email and clicked Save…",
"expected": "A confirmation that the email was saved",
"actual": "Nothing happens; a 500 appears in the network log",
"repro_steps": ["Open /settings/billing", "Change the email", "Click Save"],
"severity": "high",
"area": "billing",
"frequency": "always",
"confidence": "medium",
"missing_info": [],
"body_markdown": "## Summary\n…"
}
}
}| Field | Values |
|---|---|
severity | low, medium, high, critical |
frequency | always, sometimes, once, unknown |
confidence | low, medium, high: could a developer act on it without asking the user? |
body_markdown | The full ticket text, ready to paste into any tracker. |
Every field is snake_case and every created_at is UTC ISO-8601 with milliseconds and a Z. ticket.created is sent once for each tracker that made an issue, so a project with both Linear and GitHub gets two for a session. New fields may be added; ignore ones you do not know.
Verifying the signature
- Take the raw request body, not re-serialised JSON.
- Compute the HMAC-SHA256 of
{t}.{raw body}with your secret and compare it, in constant time, with eachv1=value. - Reject the request if
tis more than 5 minutes old.
Node.js
import crypto from "node:crypto";
// rawBody: the exact bytes received (not re-serialised JSON).
export function verifyShowbug(rawBody, header, secret) {
const parts = header.split(",").map((part) => part.split("="));
const t = parts.find(([key]) => key === "t")?.[1];
if (!t || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
const expected = crypto
.createHmac("sha256", secret)
.update(`${t}.`)
.update(rawBody)
.digest("hex");
// After a secret rotation the header carries two v1 values: either may match.
return parts.some(
([key, value]) =>
key === "v1" &&
value.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(value), Buffer.from(expected)),
);
}Python
import hashlib, hmac, time
def verify_showbug(raw_body: bytes, header: str, secret: str) -> bool:
parts = [p.split("=", 1) for p in header.split(",")]
t = next((v for k, v in parts if k == "t"), "")
if not t.isdigit() or abs(time.time() - int(t)) > 300:
return False
mac = hmac.new(secret.encode(), t.encode() + b"." + raw_body, hashlib.sha256)
# After a secret rotation the header carries two v1 values: either may match.
return any(k == "v1" and hmac.compare_digest(v, mac.hexdigest()) for k, v in parts)Retries and limits
- A timeout, a network error, 408, 425, 429 or a 5xx is retried, up to 12 times, with a growing wait (between 30 seconds and up to 6 hours;
Retry-Afteris respected). Any other 4xx, or a redirect, is permanent and stops after 3 tries. - After 5 failures in a row a destination backs off for a while (1 minute, doubling, up to 1 hour) and its queued deliveries wait. Other projects are not held up.
- A webhook URL must be https, and its host must resolve only to public addresses. Redirects are not followed.
- Rate limits per destination, per minute: Linear 60, GitHub 30, webhook 120.
Sent by hand
Failed deliveries can be retried from the delivery log, or all of a session’s at once with Retry ticket on its page. A report that ended before anything was connected has Send to connected trackers, which sends it to each destination that has not had it, once. See Tickets for what a ticket contains.