Docs

Webhooks: job-posting events, pushed to your endpoint

The reference for Reqbeat's push delivery. For a guided 15-minute setup, use the webhook how-to; every endpoint and field is in the API reference.

The model: watches, not polling

A watch is a standing subscription: a company, or a saved search ("SDR roles in the UK"), pointed at a registered webhook endpoint. Reqbeat re-reads its corpus every 3 hours across 7 regions; when something changes for a watch, your endpoint receives a signed POST carrying the event, the company id, and the posting's title, board and req key. There is no polling loop to run and no dataset to diff — the diffing is the product.

Registering a watch

Two calls: register your endpoint once, then point any number of watches at it. Registration is idempotent on the URL, so re-running it returns the same id with "created": false and "secret": null. A generated secret is shown only on the first call. Store it.

# 1. Register the endpoint. Omit "secret" and Reqbeat generates one,
#    returned once in this response — store it for verification.
curl -s -X POST 'https://api.reqbeat.com/v1/webhooks' \
  -H "X-API-Key: $REQBEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://your-endpoint.example/wh/inbound"}'
# → {"id": 42, "url": "https://your-endpoint.example/wh/inbound", "created": true, "secret": "whsec_…"}
#   (secret is null when you supplied one or the URL was already registered)

# 2. Subscribe a watch to it: one company, or criteria for a saved search.
curl -s -X POST 'https://api.reqbeat.com/v1/watches' \
  -H "X-API-Key: $REQBEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"webhook_endpoint_id": 42, "company_id": 5512,
       "event_types": ["opened", "closed"]}'

Any endpoint that accepts a POST works: an n8n Webhook trigger, a Clay webhook table, a Zapier catch hook, or a route in your own app. The id in each response is the resource's one id field: the webhook id is what POST /v1/watches takes as webhook_endpoint_id, and the watch id is what DELETE /v1/watches/{id} unsubscribes. Every HTTP delivery is signed with the X-Reqbeat-Signature header — verify it before acting on the payload. Both calls need a key carrying the webhooks scope; scopes, error codes and key rotation are in the authentication reference.

The four event types

Every delivery names its event. The distinction matters, because a reposted ad is not a new opening:

  • opened — a new matching req was detected. This is the event to treat as a fresh trigger.
  • reobserved — a req already delivered was seen again on a later read: the posting is still live.
  • reposted — a req that had gone away returned. Not a new opening; do not re-trigger outbound on it.
  • closed — the req is no longer observed at its source.

Every HTTP POST delivery is the same envelope (hosted-email deliveries are mailed to your verified address in a flat format, without an envelope or a signature). events is always an array (today always one element; iterate it so batching can arrive later without breaking you):

{
  "envelope": "reqbeat.webhook.v1",
  "delivery_id": 9214,
  "idempotency_key": "watch:311:event:184203",
  "watch_id": 311,
  "webhook_endpoint_id": 42,
  "repeat_of": null,
  "sent_at": "2026-10-15T07:41:02Z",
  "events": [
    {
      "event_seq": 184203,
      "company_id": 5512,
      "req_key": "greenhouse:braze:7210045",
      "board": "greenhouse",
      "event_type": "opened",
      "observed_at": "2026-10-15T07:12:40+00:00",
      "function": "<function id>",
      "country": "United Kingdom",
      "title": "Senior Platform Software Engineer I",
      "url": "https://boards.greenhouse.io/braze/jobs/7210045",
      "company_name": "Braze"
    }
  ]
}

Each event carries eleven fields: event_seq, company_id, req_key, board, event_type, observed_at, function, country, title, url (the link to the posting itself) and company_name. url can be null when the event's source did not record a link; it is never guessed. Both are frozen when the delivery is queued, so a replay sends the same values. Ignore fields you do not recognise: new fields can be added to v1 without a version bump. GET /v1/events returns the same events plus three read-time fields (source_board, country_code, function_name) that deliveries do not carry. Deduplicate on idempotency_key (also sent as the X-Reqbeat-Idempotency-Key header; stable across retries and replays of one delivery). repeat_of is always present: null for a first fire, or the event_seq of the earlier fire this one repeats. Use delivery_id with GET /v1/webhook-deliveries/{delivery_id} to inspect a delivery and POST /v1/webhook-deliveries/{delivery_id}/replay to resend it.

Verifying the signature

Each delivery carries X-Reqbeat-Signature: t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 over the string "{t}.{raw body}", keyed with your endpoint's secret. Verify over the exact raw bytes you received — before any JSON parsing — reject timestamps older than ~5 minutes, and compare in constant time. Deliveries come with User-Agent: Reqbeat-Webhooks/1.0.

// Node.js
const crypto = require('node:crypto');

function verifyReqbeatSignature(rawBody, header, secret, tolerance = 300) {
  if (!header) return false;
  const sigs = [];
  let t = NaN;
  for (const part of header.split(',')) {
    const [k, v] = part.trim().split('=');
    if (k === 't') t = Number(v);
    else if (k === 'v1') sigs.push(v);
  }
  if (!Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > tolerance) return false;
  const expected = crypto.createHmac('sha256', secret)
    .update(`${t}.`).update(rawBody) // rawBody: Buffer of the exact bytes received
    .digest('hex');
  return sigs.some((s) => {
    const a = Buffer.from(expected), b = Buffer.from(s);
    return a.length === b.length && crypto.timingSafeEqual(a, b);
  });
}
# Python
import hashlib, hmac, time

def verify_reqbeat_signature(raw_body: bytes, header: str | None, secret: str,
                             tolerance: int = 300) -> bool:
    if not header:
        return False
    parts = [p.strip().partition("=") for p in header.split(",")]
    ts = [v for k, _, v in parts if k == "t"]
    sigs = [v.encode() for k, _, v in parts if k == "v1"]
    if len(ts) != 1 or not ts[0].isdigit() or not sigs:
        return False
    t = int(ts[0])
    if abs(time.time() - t) > tolerance:
        return False
    expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body,
                        hashlib.sha256).hexdigest().encode()
    return any(hmac.compare_digest(expected, s) for s in sigs)

Today the header carries exactly one v1 pair; check every v1 pair anyway, so a future second pair does not break your verifier. Acknowledge with any 2xx. Reqbeat's HTTP client times out after 10 seconds, redirects are not followed, and every non-2xx status counts as a failure. A failed delivery is attempted up to 3 times in one dispatcher pass (exponential backoff from 0.5 s), then again on later passes, up to 10 attempts in total; after that it is dead-lettered. Replay any delivery with POST /v1/webhook-deliveries/{delivery_id}/replay within 7 days.

Semantics your automation can rely on

  • Deduplication is already done. A req syndicated across five boards arrives as one row per company, title and country, under the rule published on the method page. Building your own dedup on top will undo ours.
  • Every event carries evidence. Each event names its board and its req_key, so a rep, a client or an auditor can trace it to the source posting.
  • Billing follows acceptance. A watch bills only when your endpoint accepts a delivery; duplicates and failed deliveries cost nothing.
  • Unknown is never no. A company with no observable ATS or board coverage is reported as coverage_status: "no_ats_signal" — unknown, never "not hiring".
  • The feed is forward-only. Changes past your plan's monthly delivered-changes allowance are not delivered and are not queued for later — there is no backlog to replay — and your console says when one was stopped.

Limits by plan

Watches count while they are live, so cancelling one frees the slot; delivered changes count against the billing month and refill when it turns.

Plan Live watches Delivered changes / month
Free 3 50
Starter 5 250
Growth 25 1,500

Each watch also carries its own max_fires_per_hour setting. A watch that fires more often than that has its extra deliveries dropped with the delivery status rate_limited — a setting on the watch, not your API request rate, and it never arrives as an HTTP 429. Full plan details are on pricing.

The same signals, pulled instead

Webhooks are one delivery mode. The same corpus answers REST queries (quickstart), serves agents over MCP, and feeds Clay and n8n recipes. If you are comparing push providers before committing, the honest rundown is real-time job posting webhook APIs, compared.

Register one watch on the free tier and let the first delivery argue for itself.

Start free. No credit card.