API Key
Authenticate your plugin integration for production deployments
The Claspo Editor plugin requires authentication for production deployments. Local development on localhost works without an API key, but all other domains require a valid authToken.
Configuration
Pass your API key using the authToken property in the editor configuration:
window['ClaspoEditor'].init({
authToken: 'your-api-key-here',
// ... other config
});When an API Key is Required
| Environment | API Key Required |
|---|---|
localhost | No |
127.0.0.1 | No |
| All other domains | Yes |
The editor validates the domain against the API key. Requests from unauthorized domains are rejected.
Obtaining an API Key
To get your API key, contact the Claspo support team.
Updated 1 day ago
