For Developers
Integration Patterns
Advanced integration options for deeper platform connectivity.
Webhooks
Receive real-time notifications when events happen: new subscriptions, cancellations, user updates.
Embedded Apps
Embed your app directly inside the CloudFetch dashboard using iframes.
Webhooks
Configure your webhook URL in the Developer Console to receive events:
| Event | Description |
|---|---|
user.authorized | User authorized your app |
subscription.created | New subscription started |
subscription.cancelled | Subscription cancelled |
user.revoked | User revoked access |
POST https://your-app.com/webhooks/cloudfetch
Content-Type: application/json
X-CloudFetch-Signature: sha256=...
{
"event": "subscription.created",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"user_id": "usr_123",
"plan": "pro"
}
}Embedded Apps
Provide a seamless experience by embedding your app in the CloudFetch dashboard:
- Configure your embed URL in app settings
- CloudFetch passes authentication context via query params
- Your app renders inside an iframe
- Users stay within CloudFetch while using your app
Testing Your Integration
Integration Simulator
Use the Integration Simulator in Developer Console to test OAuth flows, webhooks, and API calls without affecting real users.
- • Simulate OAuth authorization
- • Trigger test webhook events
- • Verify entitlement checks