The webhook 2.0 allows you to send automated messages from Qualifio to your external application in real-time (such as Zapier for example).The message contains information about qualifio campaign participations, partial or fully completed. Since the webhook 2.0 is a Qualifio standard integration, we encourage you to use it to collect participations data.
The webhook sends the participations to the endpoint URL via HTTPS POST calls. Your servor needs to be able to handle such requests.
The participation data is sent within a payload containing all data related to the campaign and the participation (questions, form data, game data...).The format of the payload is a JSON and its structure is fixed. The JSON payload is the following:
- Qualifio participation webhook schema: https://integrations.qualifio.com/schemas/webhook/v2/schema.json
Push conditions are set up in Qualifio back-office and define the trigger to send the data. Indeed, as incomplete participation can be collected,the sending of an incomplete participation will be triggered after 60 minutes following the start of the campaign. Complete participations will be sent when submitting the form or the questions.
Webhook 2.0 can be secured by using different known authentication methods such as
Basic Auth ,
Bearer Auth or by using a custom header with a custom value.
- Header name :
- Header value :
Moreover, an extra layer of security can be configured:
- Secret : It allows you to generate an HMAC signature, combination of the secret and the participation payload in the header
--request POST \
--header "Content-Type: application/json" \
--header "x-test-authorization-header: 123456ots" \
--data 'the payload of the participationin JSON' \
Response and retry management
We expect to receive a 2XX code as a response for a successful post request following a campaign participation. If any other code than a 2XX code is received, it will be considered as a failed request. In this case, the HTTPS post request will be retried 7 times before being completely blocked.
How to test ?
You can test the webhook 2.0 by playing a campaign and configure your endpoint as a webhook.site.