Flixcheck provides two type of webhook events: notification and validation events. Through notification events, your application will be informed in real time about actions such as when a check is sent, opened, answered and rated. Through validation events, your application can decide whether the user input may be accepted or not, before Flixcheck continues to process it.

A webhook can be added in the Flixcheck portal by administrators at Settings > Webhooks. Note that the API plugin has to be activated on your account. Added webhooks have the following properties:

All webhook calls will be HTTP POST requests to your provided URL. The content will be a UTF-8 encoded JSON object. Your answer will also be interpreted as JSON object.

// Example JSON object
{
  "event": "checkOpened",
  "time": "2023-12-05T06:03:34.341Z",
  "content": {
    "checkId": "6583d5215b2b2e04e6eeafef",
    "userId": "5a33da23c986d50e0be32178",
    "accountId": "5a33da23c986d50e0be32177",
    "alreadyOpened": true
  }
}

Failure Handling and Pausing

If a webhook fails too frequently, it will automatically be paused. While paused, no webhook requests will be sent, and all events will be queued in the backlog. To resume operations, the webhook must be manually reactivated. However, if the webhook exceeds the failure threshold again after reactivation, it will be paused once more.

Both failed webhook attempts and all requests that would have been sent during the paused state are logged in the system. This allows you to review and analyze all interactions, even those missed during downtime.

Configuring the Failure Threshold

You can define the number of failures after which the webhook will be paused: