Webhooks
Subscription events
Receive real-time updates when a subscriber purchases, renews, or cancels a subscription.
Subscription event forwarding is in its early stages. It is recommended that you pair this with the REST API /oauth2/subscribers/current. This will help you keep an accurate log of users that are currently subscribed. We do not currently support retrying webhooks. This means that if your server goes down or a webhook is missed, your database may not accurately reflect your true subscriptions state. It is recommended to use this for realtime access updates but run a nightly job that reconciles your subscriber consensus table against the REST API.
Events
| Event type | When it is sent |
|---|---|
| A user completes an initial subscription purchase. | |
| An existing subscription successfully renews. | |
| A subscription is cancelled or will not renew. | |
| A subscription reaches its expiration date and access ends. |
Payload fields
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for this webhook event. |
type | string | The subscription event type selected in the event list above. |
createdAt | datetime | ISO 8601 timestamp for when Juice Reel created the event. |
| object | Subscription details associated with the event. |
Request headers
The signature uses the signing secret shown once when you create the webhook endpoint.