PAR Games: Adding Webhooks
Once you have created your gifting webhook(s), the webhook will need to be connected to the game you are deploying. The configurations vary depending on the prize being distributed and the deployment method being used for the game. Refer to the section for the deployment method you are using.
For information on setting up gifting webhooks, refer to PAR Games: Webhooks Overview.
First, we will set up the prizes we want to gift for this game.
Step 1: Configure Prize Options
You will need to know what prizes are being distributed to ensure you connect the correct webhook. This is especially important for games utilizing multiple types of prizes, such as rewards and points. Refer to the PAR Games: Configuring Prizes article for information on configuring your prizes.
Step 2: Configure Webhook Triggers
For games using Dynamic JWT deployment, first configure the Map to Context fields so the gifting webhook can resolve user_id.
Navigate to Webhook Triggers from the left navigation panel.
-
Click Add Trigger
-
The Webhook Trigger Name can be anything, but it is recommended to use a name that makes it clear what prize the webhook is gifting
-
Click Enable Webhook Trigger by Winlevel
-
Set the Exit Levels that will be gifting the desired prize (this must match what was configured in Step 1)
- Ex: If win levels 1–4 have a number of points in the description, select these win levels for the points gifting webhook
-
Set Trigger to Player Completes Game
-
Under Webhooks, select the gifting webhook for the desired prize for the deployment method you are using (Refer to the Create Gifting Webhooks section in the PAR Games: Webhooks Overview article for additional information)
-
Click Save API Changes

If you are gifting multiple types of prizes in one game (ex: rewards and points), repeat the above steps for each unique gifting webhook.
