Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

checkr-webhooks

БесплатноЗапускает вложенные скриптыНе проверен

Receive and verify Checkr webhooks (background checks). Use when setting up a Checkr webhook URL in Developer Settings or a Partner application, verifying the…

hookdeckот hookdeck★ 104 звезды на GitHub

Об этом скилле

Checkr Webhooks

Checkr runs background checks. It sends a POST with a JSON event to your webhook URL whenever something you subscribed to happens: a candidate is created, an invitation is completed, a report is suspended or completed. Direct customers set up to two webhook URLs under Developer Settings. Partner apps set the URL on the Partner Application.

When to Use This Skill

  • How do I receive Checkr webhooks?
  • How do I verify the X-Checkr-Signature header?
  • Which key does Checkr sign webhooks with? (there's no webhook secret)
  • Why does my Checkr signature never match? (usually: the body was re-serialised, or the wrong API key)
  • How do I handle report.completed or report.suspended?

Verification (core)

X-Checkr-Signature is the lowercase hex HMAC-SHA256 of the raw body. Checkr issues no webhook signing secret:

Integration HMAC key
Direct account The oldest secret API key on the account
Partner app The Partner application's OAuth client secret (not a customer's access token)
const crypto = require('crypto');

function verifyCheckrSignature(rawBody, signature, key) {   // rawBody: exact bytes
  const value = String(signature || '').trim();
  if (!key || !/^[0-9a-fA-F]{64}$/.test(value)) return false;
  const expected = crypto.createHmac('sha256', key).update(rawBody).digest();
  return crypto.timingSafeEqual(Buffer.from(value, 'hex'), expected);
}
  • Verify the raw body. Checkr's docs describe the signed content as "compact JSON" (no pretty-printing), which is the body exactly as Checkr sends it. Parsing and re-serialising it can change the bytes and break the match.
  • Don't delete the oldest secret API key. Checkr says deleting it "will break signature verification for all incoming events". Update your verification key first if you must rotate it.
  • Accounts without an API key get the sentence "Please create an API key to check the authenticity of our webhooks." in the header. It never verifies.
  • Bad or missing signature: 401. Key not set: 500. Any 2xx acknowledges the delivery, and Checkr ignores the response body.

For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.

Python uses the same steps with hmac.new(key.encode(), raw_body, hashlib.sha256) and hmac.compare_digest. Checkr's webhook-verification-examples repo has a test vector, which every example's tests check. See references/verification.md.

Hookdeck: the Checkr source type (CHECKR) verifies X-Checkr-Signature with your API key, or with the Partner app's client secret. Verification is optional on the source. Checkr signs no timestamp, and Hookdeck applies no timestamp window.

Payload

{
  "id": "1002d6bca6acdfcbb8442178",
  "object": "event",
  "type": "report.completed",
  "created_at": "2018-08-17T01:12:43Z",
  "webhook_url": "https://notify.company.com/checkr",
  "data": {
    "object": { "id": "4722c07dd9a10c3985ae432a", "object": "report", "status": "complete", "result": "clear", "package": "driver_pro" }
  }
}

With include_object off, data.object holds only id, object and uri. With it on, it holds the full object. Partner applications always have it on.

Event Types

Group Events
Candidate candidate.created, candidate.updated, candidate.id_required, candidate.driver_license_required, candidate.driver_abstract_required, candidate.pre_adverse_action, candidate.post_adverse_action
Invitation invitation.created, invitation.completed, invitation.expired, invitation.deleted
Verification verification.created, verification.completed, verification.processed
Report report.created, report.updated, report.canceled, report.upgraded, report.completed, report.suspended, report.resumed, report.paused, report.disputed, report.dispute_completed, report.pre_adverse_action, report.post_adverse_action, report.engaged
Adverse action adverse_action.created, .completed, .paused, .resumed, .canceled, .notice_not_delivered
Other package.*, continuous_check.*, form_i9_v2.*
Partner only account.connected, account.credentialed, token.deauthorized

Events can arrive out of order (for example report.engaged before report.completed) and more than once. Dedupe on id and fetch the object when order matters. See references/overview.md.

Environment Variables

CHECKR_SIGNING_KEY=your-oldest-secret-api-key   # or your Partner app's client secret

Local Development

# Express / Next.js (use 8000 for FastAPI). No install or account required.
npx hookdeck-cli listen
Полный SKILL.md на GitHub

Установить checkr-webhooks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/express/.env.exampleexamples/express/README.mdexamples/express/package.jsonexamples/express/src/index.jsexamples/fastapi/.env.exampleexamples/fastapi/README.mdexamples/fastapi/main.pyexamples/fastapi/requirements.txtexamples/fastapi/test_webhook.pyexamples/nextjs/.env.exampleexamples/nextjs/README.mdexamples/nextjs/app/webhooks/checkr/route.tsexamples/nextjs/lib/verify-checkr.tsexamples/nextjs/package.jsonexamples/nextjs/vitest.config.tsreferences/overview.mdreferences/setup.mdreferences/verification.md

FAQ

Что делает скилл checkr-webhooks?

Receive and verify Checkr webhooks (background checks). Use when setting up a Checkr webhook URL in Developer Settings or a Partner application, verifying the X-Checkr-Signature header (lowercase hex HMAC-SHA256 of the raw body keyed with the oldest secret API key, or the Partner app's client secret), debugging signature mismatches, or handling events like report.completed, report.suspended, candidate.created, invitation.completed and verification.processed.

Как установить скилл checkr-webhooks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл checkr-webhooks запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить checkr-webhooks с