Understanding webhooks and endpoints
Webhooks are a powerful tool for staying informed about real-time events happening within your claimr campaigns. They provide an efficient way to receive instant updates, allowing your application to react dynamically to user actions and provide a more personalized experience.What is a webhook?
A webhook is an automated message that claimr sends to your application whenever a specific event occurs in your campaigns. Instead of your application constantly checking for new information (a process called “polling”), claimr proactively notifies you when something important happens, such as a user completing a task or claiming a reward. Webhooks in claimr have an organization-wide scope. This means that any user activity within your entire organization, across all associated campaigns, will trigger a notification to your registered endpoint.What is an endpoint?
To receive these webhook messages, you need to set up a dedicated URL on your server, called an endpoint. This endpoint acts as the receiving address where claimr can deliver these real-time updates. It’s important to ensure that your endpoint is properly configured to receive and process incoming data.Why use webhooks?
Webhooks offer several advantages over traditional polling methods:- Real-time updates: Get instant notifications about important events, enabling your application to react quickly and provide timely feedback to users.
- Efficient data handling: Receive only the data you need, when you need it, reducing unnecessary data transfer and processing.
- Reduced polling: Eliminate the need for your application to continuously check for updates, saving resources and improving performance.
Set up webhooks
Register, configure, and test webhooks in claimr.
Webhook scopes
Understand the different webhook scopes and the events they cover.