Skip to content

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.

DestinationHow to connectWhat it does
LinearConnect 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 IssuesInstall 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.
WebhookEnter 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.

StatusMeaning
PendingWaiting for its first try, or for the next one after a failure.
SendingA worker has it right now.
DeliveredThe tracker or your endpoint accepted it.
FailedOut of tries, or refused for good. Admins can retry it.
CancelledThe 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 error while 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:

HeaderValue
Content-Typeapplication/json
Showbug-Event-IdThe same on every retry of one event. Use it to ignore duplicates.
Showbug-Signaturet=<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

EventSent whendata
session.completeda session endssession_id, project_id, org_id, session (url, started_at, ended_at, recording_url) and report (title, summary, expected, actual, repro_steps, severity…)
ticket.createda Linear or GitHub issue was made for the sessionticket (provider, external_id, url)
pingyou press Send test eventdestination_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…"
    }
  }
}
FieldValues
severitylow, medium, high, critical
frequencyalways, sometimes, once, unknown
confidencelow, medium, high: could a developer act on it without asking the user?
body_markdownThe 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

  1. Take the raw request body, not re-serialised JSON.
  2. Compute the HMAC-SHA256 of {t}.{raw body} with your secret and compare it, in constant time, with each v1= value.
  3. Reject the request if t is 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-After is 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.