Webhooks allow your app to receive near-real-time updates about events happening in Gameball. By setting up a webhook, you can stay informed and take immediate action when specific events occur.
Your webhook endpoint must be an HTTP address capable of processing event notifications. Ensure you implement verification to confirm that requests are coming from Gameball.
{ "event": "customer.notification.push", "client_id": "2155", "customer_id": "webhook-test", "gb_customer_id": 1234, "created_at": "2024-11-12T19:02:24.631Z", "data": [ { "local": "en", "icon": "https://example.com/image.webp", "body": "Your recent activities have been amazing! Keep up the great work and enjoy your rewards!", "title": "Well Done!" }, { "local": "fr", "icon": "https://example.com/image.webp", "body": "Félicitations pour vos réalisations récentes! Continuez comme ça et profitez de vos récompenses!", "title": "Bravo!" } ]}