Webhook Quests

Validate quest behavior using your own API endpoints and set optional custom point amounts.

This quest type allows you to provide your own quest validation logic. It's required to configure an API endpoint for this quest that we can send a validation request to.

Webhooks

Custom Amount

You can enable the custom amount setting which will allows you to calculate a point amount on your side and return in the response of the webhook call. We will then transfer that amount of points to the user.

Webhook Response

Your webhook should create a response like this. Note that the amount property is optional.

{
    result: boolean, // Validated (true) or invalidated (false) quest entry
    amount?: number, // Your custom point amount (0 or more)
}

Last updated