Webhooks

A webhook sends a POST with JSON to your URL when something happens in the organization. Set it up in Organization settings → Webhooks (for the whole organization or one project) or over the API (/webhooks, area webhooks). Webhooks come with the Team plan.

Events

Event When
ticket.created a new ticket
ticket.updated a ticket changed (title, description, assignees, due date…)
ticket.moved moved to another column
ticket.completed / ticket.reopened done / reopened
ticket.archived / ticket.deleted archived / deleted
comment.created a new comment
time_entry.created / time_entry.updated a time entry
milestone.completed a milestone completed

Body

{
  "event": "ticket.moved",
  "occurred_at": "2026-12-01T09:30:00+00:00",
  "tenant": "acme",
  "delivery_id": 4211,
  "data": {
    "ticket": {
      "id": 812, "ref": "WEB-12", "title": "Fix the footer", "project": "WEB",
      "column": "Review", "priority": "high", "due_date": "2026-12-05",
      "completed_at": null, "archived_at": null,
      "assignees": [{"id": 4, "name": "Jane Doe"}],
      "url": "https://notcha.cz/acme/projects/WEB/tickets/12",
      "custom_fields": {}
    }
  }
}

comment.created adds data.comment (id, author, text, created_at), time entries come as data.time_entry, milestones as data.milestone.

Headers

Header Value
X-Webhook-Event the event
X-Webhook-Delivery the delivery ID (same as delivery_id)
Idempotency-Key whd_<id> – the same on retries
X-Signature sha256=<HMAC-SHA256 of the body with the secret>

Verifying the signature

Compute it from the raw body (not re-encoded JSON) and compare in constant time.

$expected = 'sha256='.hash_hmac('sha256', $request->getContent(), env('NOTCHA_WEBHOOK_SECRET'));
abort_unless(hash_equals($expected, (string) $request->header('X-Signature')), 401);
import crypto from 'node:crypto'
// app.post('/notcha', express.raw({ type: 'application/json' }), (req, res) => { … })
const expected = 'sha256=' + crypto.createHmac('sha256', process.env.NOTCHA_WEBHOOK_SECRET).update(req.body).digest('hex')
const ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(req.get('X-Signature') ?? ''))
import hmac, hashlib
expected = "sha256=" + hmac.new(secret.encode(), request.get_data(), hashlib.sha256).hexdigest()
if not hmac.compare_digest(expected, request.headers.get("X-Signature", "")):
    abort(401)

Delivery and retries

  • Answer within 30 seconds with a 2xx. Anything else (or no answer) is retried after 1 min, 5 min, 30 min and 2 h – 5 attempts in total.
  • Deliveries may repeat or arrive late – use delivery_id / Idempotency-Key to skip the ones you handled.
  • After 5 failed deliveries in a row the webhook is switched off and the admins get an e-mail. The delivery log is in the webhook's settings.
  • The URL must be public https:// (no internal networks).