Skip to main content
Classet can send HTTP POST requests to your server when events happen — like an interview completing or a candidate’s status changing. Classet sends two kinds of event to the same webhook URL:
  • Interview events (candidate.interview.updated) are on for every organization with a webhook URL.
  • v2 events (interview.completed, application.stage_changed and six more) arrive in a signed, versioned envelope. They are in beta and enabled per organization.
Once v2 events are on for your organization, most interview events stop, but not all: during the beta your endpoint can receive both formats. Tell them apart by the top-level keys. A v2 event has type and api_version; an interview event has event.
v2 events are a limited beta. Configuring or testing a URL does not opt an organization into them. Until they are enabled for yours, rely on interview events, or poll Get Interview.

Webhook URL management

You can add, update, and manage your webhook URLs through the Developer Settings page or via the Webhooks API. From the dashboard, you can:
  • Register new webhook URLs
  • Edit or delete existing webhook URLs
  • View recent webhook delivery logs and retry attempts

Verifying webhook requests

Classet supports two methods for verifying webhook requests: Each webhook request includes an x-classet-webhook-signature header containing an HMAC-SHA256 signature of the request body. Setup:
  1. Navigate to Developer Settings in the Classet dashboard
  2. Scroll to the Interview Events Webhook section
  3. Click Generate Signature to create a webhook signing secret
  4. Copy and store the secret securely — you won’t be able to view it again
Verification example (Node.js):
  • The signature uses base64url encoding (URL-safe base64)
  • Compute the HMAC over the raw request body exactly as received. Re-serializing a parsed body can reorder keys or change whitespace, and the signature won’t match. With Express, read the body with express.raw({ type: 'application/json' }).
  • On v2 events, during a secret rotation the header carries two signatures separated by a comma, one per secret. Accept the request if either one matches.
  • Use constant-time comparison (timingSafeEqual) to prevent timing attacks
  • Store your webhook secret in environment variables or a secrets manager

Replay protection (v2 events)

v2 events also carry X-Classet-Timestamp (Unix seconds) and X-Classet-Signature-V2, an HMAC-SHA256 of {timestamp}.{raw body}, base64url-encoded. Because the timestamp is signed, you can reject a captured request that is replayed long after it was sent. The timestamp is set once, when the event is first sent, and every retry reuses it. Retries can arrive hours later, so a window of a few minutes rejects legitimate retries after an outage. Use a window that covers the whole retry period, such as 24 hours, and deduplicate on event_id to drop replays inside it:
v2 events still send x-classet-webhook-signature (and its alias X-Classet-Signature), computed as in Method 1, so an existing signature verifier keeps working.
v2 events are signed only when a webhook signing secret is configured, and they never send x-classet-key. If you verify with the API key (Method 2), generate a signing secret before v2 events are enabled for your organization.

Method 2: API key verification (legacy)

If you haven’t configured a webhook signature, Classet sends your API key in the x-classet-key header as a fallback.
We recommend migrating to webhook signature verification for improved security.

Interview events

The Interview Events webhook triggers when an interview has been updated. It is on for every organization with a webhook URL, until v2 events are enabled for it.

Event: candidate.interview.updated

Fires when an interview’s details change — typically when a call completes or an outcome is determined.

Payload format

Data fields

Interview outcomes

interview_outcome takes one of these values. Only the first three mean an interview took place. What candidate_not_interested changes on the candidate. It depends on how the candidate said it:
  • SMS or email reply: disqualified becomes true with disqualification_reason “not interested”. The stage doesn’t change.
  • During a call: the stage becomes Future Leads. For candidates created through the API, and on legacy Workable and Dayforce integrations, the candidate is also disqualified (disqualified: true, with a “not interested” reason). For other organizations they are not disqualified.
  • STOP text: the stage becomes Future Leads and the candidate is not disqualified. They are also unsubscribed from texts.
Check disqualified and stage rather than inferring them from the outcome.

Example payload


v2 events (beta)

v2 events are sent to the same URL, in one envelope for every event type:
Route on type, and ignore types you don’t handle: new types are added without a version change. Use event_id to deduplicate, since a retry delivers the same event_id again. In Classet an application and its candidate are one record, so application_id and candidate_id always carry the same value.
Except for interview.completed, v2 events fire only for changes made through the v2 API. Changes made in the Classet dashboard or synced from your ATS don’t emit them yet. Use updated_since on List Applications to catch those.
Verify v2 events with replay protection. v2 events are retried up to 5 times, and every attempt is recorded in the delivery history.

Delivery and retries

You must return a 2xx HTTP status code (200, 202, or 204) to acknowledge receipt. If your endpoint fails to acknowledge the webhook, we automatically retry with exponential backoff: After the last retry fails, the event is marked as undeliverable.
Return a 2xx status code as quickly as possible. If processing is slow, respond immediately and handle the payload asynchronously.

Delivery history retention

Every dispatch is recorded, and you can read it back through GET /v2/webhooks/events and GET /v2/webhooks/events/{eventId}. The delivery record — status, attempt count, response status, timestamps and the last error — is kept indefinitely, so a delivery you need to account for months later is still there. The stored envelope is not. interview.completed payloads carry the full transcript, the recording URL and the candidate’s contact details, so we empty the stored copy 30 days after dispatch. Past that window, GET /v2/webhooks/events/{eventId} returns payload: null alongside a payload_purged_at timestamp — the delivery record is intact, the body is gone. Our retries are exhausted within hours, so a purged payload was never redeliverable anyway. If you need the content of an event, persist it on receipt rather than relying on our history, or re-read the underlying record through the API (GET /v2/candidates/{id}/interview).
If your own retention terms need a different window, contact success@classet.ai — it is configurable per deployment.

Custom variables and data extraction

Need data in the webhook response that isn’t listed above? We can add custom variables and extract additional information from the call. Reach out to success@classet.ai.

Call completed (deprecated)

The call_completed webhook is deprecated in favor of candidate.interview.updated. Please migrate to the new event format.
The legacy call completed webhook fires when a call finishes and includes the full transcript, call analysis, and recording URL. See Webhooks in the v1 migration guide for how to move off it.