Integrations
RevenueCat Webhooks Guide
RevenueCat webhooks send subscription and purchase lifecycle events into your backend. Those events often update entitlements, customer status, support automation, analytics, and billing operations, so failures need a clear trail from provider delivery to destination processing.
FastHook gives RevenueCat a stable source URL, verifies the configured Authorization header value, stores request evidence, routes accepted lifecycle events to destinations, and keeps retries and replay close to the failed delivery record.
RevenueCat Authorization header
RevenueCat lets you configure an Authorization header for webhook deliveries. In FastHook, create a RevenueCat source and paste the same value into Authorization Header Value. FastHook accepts either the exact saved value or the Bearer form of that value.
Authorization: Bearer revenuecat-tokenworks when the saved value isrevenuecat-token.Authorization: revenuecat-tokenalso works when you save the exact header value.- Use different header values for production and sandbox RevenueCat projects.
Create a RevenueCat source
curl -X POST "https://api.fasthook.io/v1/sources" \
-H "Authorization: Bearer $FASTHOOK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "RevenueCat production",
"type": "REVENUECAT",
"config": {
"auth_type": "PROVIDER_SIGNATURE",
"auth": {
"provider": "REVENUECAT",
"webhook_signing_secret": "revenuecat-token"
},
"allowed_http_methods": ["POST", "PUT", "PATCH", "DELETE"]
}
}'Subscription event routing
Keep RevenueCat routing explicit. Subscription lifecycle events may look similar at ingress, but they often belong to different downstream systems and recovery policies.
| Need | Destination pattern | Failure concern |
|---|---|---|
| Entitlement updates | Account or access service | Duplicate grants, stale access, missed revocation |
| Lifecycle analytics | Warehouse or event stream | Gaps after receiver downtime |
| Support automation | CRM or helpdesk workflow | Duplicate tickets and noisy retries |
| Finance review | Sheet, warehouse, or reconciliation endpoint | Replay windows without idempotency |
Debugging RevenueCat webhooks
- No request appears: confirm the RevenueCat webhook URL is the generated FastHook Source URL.
- 401 source auth failed: compare the configured FastHook value with the RevenueCat Authorization header.
- Provider retries continue: inspect the destination attempt response before replaying more events.
- Entitlements drift: add receiver-side idempotency before applying subscription side effects.
- Sandbox traffic leaks into production: split RevenueCat sources by environment.