User Permissions API
This API specification describes the webhook endpoint that your server must implement to provide user permissions for the Stripo Email Editor.
The Stripo Plugin enforces role-based access control by calling your endpoint to retrieve permissions for each user session. This allows you to define granular access controls for different parts of the editor (code editor, appearance settings, content editing, modules, version history, and comments management).
How It Works:
- Configure the User Permissions API endpoint in your Stripo Plugin settings
- When a user opens the editor, Stripo calls your endpoint with user metadata
- Your server responds with a JSON object specifying which actions are allowed
- The editor enforces these permissions by enabling or disabling features
Authentication: HTTP Basic Authentication is required. Configure credentials in the plugin settings: Plugin → Server Settings → User Permissions API.
Performance: This endpoint is called during editor initialization, so response time should be optimized (recommended: < 500ms).