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

EnvironmentAPI Key Required
localhostNo
127.0.0.1No
All other domainsYes

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.