Permissions (What You CAN Access)
Permissions define which events an app is allowed to publish or receive. Set by the event owner.- Publish Permission: Can this app publish this event type?
- Receive Permission: Can this app subscribe to this event type?
Subscriptions (What You WANT to Receive)
Subscriptions define which events an app actively wants to receive. Managed by the app owner via SDK.How Validation Works
When Publishing
- EnSync validates the publisher has permission to publish that event
- If valid, event is sent to specified Client IDs
- If invalid, publish is rejected
When Subscribing
- EnSync validates the subscriber has permission to receive that event
- If valid, subscription succeeds
- If invalid, subscription fails immediately
When Delivering
Events are only delivered when all four conditions are met:- Permission (platform sets): You have receive permission for that event type
- Subscription (you set): You have an active subscription to that event type
- Event name matching (automatic): Published event type matches your subscription pattern
- Recipient targeting (platform sets per-event): Event is explicitly addressed to your Client ID
Subscriptions act as filters: Events addressed to you but outside your subscriptions will queue based on your plan’s retention period (up to 30 days). Subscribe later to automatically receive queued events.
Targeted Delivery Example
The Four Layers Explained
Permission vs Subscription
Managing Permissions
Via Integration Page
Partners can manage their subscriptions within the permissions you’ve granted:- View available events (based on your permission grants)
- Subscribe to events they want to receive
- Unsubscribe from events they no longer need
- View event metrics and analytics
Via Config Manager API
You can programmatically manage permissions:Best Practices
- Grant minimum permissions - Only give access to events partners need
- Let partners manage subscriptions - They know which events they want
- Review permissions regularly - Remove access when partnerships end
- Use integration pages - Enable partners to self-manage their subscriptions