Overview
Ropes provides a webhook integration that automatically sends assessment results to your systems when a candidate completes a coding test. This allows you to integrate Ropes seamlessly with your existing recruitment workflow and tools.When Does the Webhook Trigger?
The webhook triggers automatically when:- A candidate completes a coding assessment
- The system has finished evaluating the candidate’s code
- A final score has been calculated
Webhook Payload
When triggered, the webhook sends a POST request to your specified endpoint with the following JSON payload:Security
For security, each webhook request includes a signature in thex-ropes-webhook-signature header. This signature is generated using HMAC-SHA256 with your webhook secret key and the request payload.
To verify the authenticity of webhook requests:
- Use the same secret key to generate an HMAC-SHA256 signature of the received payload
- Compare this signature with the one in the
x-ropes-webhook-signatureheader - Only process the webhook if the signatures match
Setting Up the Webhook
To configure the webhook integration:- Navigate to the Integrations page in your Ropes dashboard
- Scroll to the Webhook section
- Enter your webhook endpoint URL (must be HTTPS)
- Generate and enter a secure webhook secret key
- Click “Save”