Webhooks

Receive real-time notifications for contest events

Webhooks

Webhooks allow external services to send data to Blitz Rocket when events happen in your application. Use webhooks to automatically create contest entries when users sign up on your platform, or to award points when purchases are made.

How Webhooks Work

  1. You configure a webhook URL in your external system (e.g., Shopify, Stripe, or your custom backend)
  2. When an event occurs (signup, purchase), your system sends an HTTP POST request to the Blitz Rocket webhook endpoint
  3. Blitz Rocket processes the event, creates or updates entries, and awards points

Available Webhook Endpoints

WebhookEndpointPurpose
SignupPOST /api/webhooks/signup/:contestIdCreate entries from external signups
PurchasePOST /api/webhooks/purchase/:contestIdTrack purchases from external stores

Webhook Security

Each webhook connection has a secret key that you can configure in your team settings. When sending webhook requests, include the secret in the request body or as a header to verify authenticity.

Supported Integrations

Blitz Rocket supports webhooks from:

  • Shopify — Automatic order and customer webhooks
  • Stripe — Payment and subscription webhooks
  • Custom — Any system that can send HTTP POST requests

Webhook vs API

FeatureWebhooksREST API
DirectionExternal → Blitz RocketYour code → Blitz Rocket
AuthenticationWebhook secretAPI key
Use caseEvent-driven automationOn-demand operations
Real-timeYes (push)No (pull)

Use webhooks when you want automated, event-driven entry creation and purchase tracking. Use the REST API when you need fine-grained control over operations.