Event types

Event types

Every event Heizen sends and what its data.object holds.

Typedata.objectWhen
invitation.createdinvitationAn invitation is created, from the API, dashboard, bulk invite or an import
invitation.expiredinvitationA pending link passed its expires_at without the candidate starting
session.startedsessionThe candidate started the interview
session.completedsessionThe candidate finished; scoring begins
session.abandonedsessionThe candidate left and did not return
result.readyresultScoring finished
result.updatedresultA ready result changed, for example after a rescore
import.completedimportAn import finished processing
export.readyexportAn export file is ready to download
webhook.test{ "object": "webhook_test", … }You sent a test event. Never sent otherwise.

Choose * to receive every type, including ones added later.

Cancelling an invitation does not send an event. The session shows status: "cancelled" when you next read it.

A typical flow

For one candidate, a live endpoint subscribed to everything sees:

  1. invitation.created
  2. session.started
  3. session.completed
  4. result.ready

and possibly result.updated later. If the candidate never starts, you get invitation.expired instead of the rest.

The event object

Field
idevt_…, also sent as the webhook-id header
object"event"
typeOne of the types above
api_versionThe API version the payload follows
livemode
created_atWhen the event happened
data.objectThe resource

You can read past events through the Events API.