The Status Webhook allows you to receive real-time updates on application statuses. Whenever a status update occurs, a Webhook Payload will be sent to a URL you define.
Webhook Payload
The following payload will be sent to your configured webhook URL:
{
"company_id": 123,
"partner_id": 10,
"application_id": 45213,
"partner_application_id": "123",
"external_job_id": "1604531",
"status": "SUCCESS",
"failure_error": null
}
Field Name | Type | Description |
---|---|---|
company_id | int | The unique Kini ID of the company. |
partner_id | int | The unique Kini ID of the partner. |
application_id | int | The unique Kini ID of the application. |
partner_application_id | string | The partner-specific ID of the application, in case it was provided upon application creation. |
external_job_id | string | The external job ID. |
status | enum | The current synchronization status of the application (SUCCESS , FAILURE , EXPECTED_FAILURE , NOTSENT ) |
failure_error | string | Error details if the synchronization failed (otherwise null ). |
Status Values
The status
field can have the following values:
- SUCCESS: The application was synchronized successfully.
- FAILURE: An error occurred during synchronization. Failure details are provided in the field
failure_error
. - NOTSENT: Synchronization hasn't been set to the ATS or is still in progress.
- EXPECTED_FAILURE: Synchronization failed due to an expected error, such as
DuplicateApplicationError
,JobNotPublishedError
Authentication
Authentication is handled via an API key sent in the request header.
Example Header
Authorization: Bearer <API_KEY>
The API key will be provided to you separately. Ensure that your webhook endpoint is secure and accessible only by authorized requests.
Setting Up Your Webhook URL
Please provide us with your desired Webhook URL so we can configure it in our system.
Example URL
https://your-domain.com/kini-status
Notes
- Ensure your webhook URL supports HTTPS for secure communication.
- Implement robust handling for the webhook payload, especially for the
failure_error
field. - Webhook calls may be retried periodically if no successful response (HTTP 2xx) is received.