Lever Real Time Events

List of Events Supported by Lever

Knit Event IDSupportLever Webhook Event
ats_applications_newYesApplication created
ats_applications_modifiedYesCandidate stage change, Candidate archive state change, Candidate hired , Interview created, Interview updated, Interview deleted
ats_applications_deletedYesCandidate deleted
ats_jobs_newNo
ats_jobs_modifiedNo
ats_jobs_deletedNo

Step 1: Subscribe to events and Get the Webhook URL

To subscribe to real time events in Lever, you can use the Subscribe to Real Time Events API. A cURL for the same would look like:

curl --location 'https://api.getknit.dev/v1.0/events.subscribe' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
    "events": [
        "ats_applications_new",
        "ats_applications_modified",
        "ats_applications_deleted"
    ]
}'

The response for this would look like the following:

{
  "success": true,
  "data": {
    "webhookUrl": "https://workflows.getknit.dev/webhook/wt_3xvamZYMn6Q7bUzZtB"
  }
}


Step 2: Configure Webhooks in Lever Dashboard


  • Log in to your Lever account and access the dashboard using your credentials.
  • Navigate to Settings > Integrations and API > Webhooks.
  • Enable the relevant webhook events and configure them using the previously obtained webhook URL.

Enabling Webhook

  • Use the previously obtained webhook URL to configure each event.
  • For each enabled event, there will be a unique Signature Token.
  • Share these EventType and SignatureToken pairs with the Knit support team to enable them to receive webhook data on your behalf.

Webhook Events and Signature Tokens Examples

EventTypeIdSignatureToken
applicationCreatedf4376fa4ad4cf1c7252feb34931
candidateStageChangea92d2965f46a353bd4f63f8ec0
candidateArchiveChange0b675964867d265468240fc53
candidateHireda7d66f63d2b239b0caf758f7c2
candidateDeletedfd3a7caacd0e6dc85dea0c46d
interviewCreatedc9321fc2b3e5ecfbb88f8095f05
interviewUpdated9c696d02b672cea920dac46ba
interviewDeleted9c696d02b672c354343435354