Developer API
Validate licenses, check and deliver updates, and manage domain activations from your own plugin — via the Code Heaven Developer License API.
Code Heaven Developer License API: Overview
The Code Heaven Developer License API lets plugin vendors gate, validate, and update their own products against Code Heaven licenses. Learn the license model — per-purchase keys plus domain activations and seat limits.
Authentication: Vendor API Keys
Authenticate to the Code Heaven Developer License API with a vendor API key sent in the X-CH-Vendor-Key header. Learn how to obtain a key, handle rate limits, and keep the key off the client.
Quickstart: Validate a License in 5 Minutes
Validate a Code Heaven license in five minutes. Copy-paste curl and PHP examples that call POST /licenses/validate and gate your plugin's premium features on status == valid.
License Lifecycle: Activation, Validation, and Seats
Manage the full Code Heaven license lifecycle: activate a domain, validate per domain, deactivate a domain, and handle seat limits. Learn what every license status means and how to react.
Updates and Downloads: Shipping New Versions
Check for plugin updates with GET /licenses/{key}/updates and deliver them through the short-lived signed package URL from GET /licenses/{key}/download. A complete update flow with JSON examples.
PHP SDK: Install, Configure, and Use
Install the Code Heaven PHP SDK with Composer, configure it with your vendor key, and call validate(), checkUpdate(), download(), and deactivateDomain(). Built-in response caching and offline grace included.