Skip to main content

Webhooks

Receive HTTP notifications when events occur in CheerKeeper.

Creating a Webhook

POST /api/webhooks
Content-Type: application/json

{
"url": "https://your-server.com/webhook",
"events": ["schedule.updated", "event.published"],
"secret": "your-secret-key"
}

Available Events

EventDescription
event.createdNew event created
event.updatedEvent details changed
event.publishedEvent published to mobile
event.archivedEvent archived
schedule.updatedSchedule modified
performance.createdPerformance added
performance.updatedPerformance changed
performance.deletedPerformance removed

Webhook Payload

{
"event": "schedule.updated",
"timestamp": "2025-03-15T09:00:00Z",
"data": {
"eventId": "event_123",
"changes": [...]
}
}

Verifying Webhooks

Verify the signature header:

X-CheerKeeper-Signature: sha256=...

Retry Policy

Failed deliveries retry:

  • 3 attempts
  • Exponential backoff
  • Disabled after consecutive failures