Equalture ATS Webhooks Documentation
Overview
Webhooks in the Equalture ATS system are used to notify your application about two key events:
- When an assessment is started
- When an assessment is finished
Webhook Management
Endpoints
The API provides three main endpoints for webhook management:
PUT /connect_ats/webhooks- Create/Update webhooksGET /connect_ats/webhooks- List existing webhooksDELETE /connect_ats/webhooks- Remove webhooks
Authentication
All requests require Bearer token authentication. You need to Grant access token, which you can use for managing webhooks.
Implementation Flow
-
Setting Up Webhooks
- Use the
PUT /connect_ats/webhooks/:labelendpoint to register your webhook URL and method (POST or PUT) - Ensure your endpoint is publicly accessible
- Your server should be configured to handle POST or PUT method (defined, while creating/updating your webhook) with requests from Equalture
- Use the
-
Listing Webhooks
- Use the
GETendpoint to retrieve all configured webhooks - This helps verify your webhook configuration
- Use the
-
Updating Webhooks
- Use the
PUT /connect_ats/webhooks/:labelendpoint to update your webhook URL
- Use the
-
Removing Webhooks
- Use the
DELETEendpoint when you need to stop receiving notifications - This completely removes the webhook configuration
- Use the
Available webhooks
Your webhook endpoint will receive notifications for:
-
assessment_started: Triggered when a candidate begins an assessmentassessment_finished: Triggered when a candidate completes an assessment and the results of every game are analysed
Assessment Started Webhook
{
"data": {
"application_start_date": "2025-02-17T11:58:11",
"reference_id": "306a6a69-fdc7-4b0b-a7a2-528df1aa316b"
},
"id": "a96b66b1-9a40-4911-9d93-b1ca664f0ba9",
"type": "assessment_started"
}Assessment Finished
{
"data": {
"reference_id": "ef955117-1ef3-4b08-b658-65da99f8a1b8"
},
"id": "c4b26ab9-1d6f-4142-bace-d4263cccd951",
"type": "assessment_finished"
}Webhook Flow
The diagram below shows when each webhook is sent during an application, from creating the applicant to reading their results.
-
Register your webhooks (once). Call
PUT /connect_ats/webhooks/:labelonce for each event type you want to receive:assessment_started,assessment_finished, or both. -
Create the application. Call
POST /connect_ats/applications. The response contains areference_id. Store it, because every webhook for this application refers to it.- With the
emailinvitation type, Equalture emails the applicant an invitation. - With the
one_time_linkinvitation type, the response also contains anassessment_url, which you send to the applicant yourself.
- With the
-
The applicant starts the assessment. When the applicant opens the invitation and starts the assessment, Equalture sends the
assessment_startedwebhook to your URL:{ "data": { "application_start_date": "2025-02-17T11:58:11", "reference_id": "306a6a69-fdc7-4b0b-a7a2-528df1aa316b" }, "id": "a96b66b1-9a40-4911-9d93-b1ca664f0ba9", "type": "assessment_started" } -
The applicant finishes the assessment. Equalture first analyses the results of every game in the assessment. When the analysis is done, Equalture sends the
assessment_finishedwebhook:{ "data": { "reference_id": "ef955117-1ef3-4b08-b658-65da99f8a1b8" }, "id": "c4b26ab9-1d6f-4142-bace-d4263cccd951", "type": "assessment_finished" } -
Fetch the results. After you receive
assessment_finished, use thereference_idto callGET /connect_ats/applications/:reference_id/resultsorGET /connect_ats/applications/:reference_id/public_link.
Delivery
- Equalture sends each event only once per application.
- Your endpoint must reply with a
2xxstatus code. Equalture treats any other reply, or a request that fails, as a failed delivery and retries it, up to 6 attempts in total. - The
idfield identifies one webhook delivery. Equalture also sends it as theWebhook-Idheader and uses it to build the signature.
Security Implementation
Webhook Signature Validation
Following the Standard Webhooks specification, it's recommended to implement signature validation to ensure webhook authenticity and prevent tampering.
You may see, how signature is generated on: Verify signature
How Signature Validation Works
- Each webhook request includes a signature in the
Webhook-Signatureheader - The signature is created using a secret key shared between Equalture and your server
- Your server should validate this signature before processing the webhook.
- Standard webhooks signatures are generated using HMAC with SHA-256. The signed content is composed by concatenating the id, timestamp and payload, separated by the full-stop character (.)
Testing locally
For local development, we recommend using a tool like: ngrok. This will allow you to send test requests to validate that your endpoint is working properly.