# Endpoint: POST /v1/licenses/activate
Activates an AxisDocs Pro license key for a deployment hostname.
## Headers
- Authorization: Bearer <token>
- Content-Type: application/json
## Request Body
- key (string, required): Commercial license identifier
- host (string, required): Target deployment domain
- label (string, optional): Environment label for audit log
## Examples
### cURL
```bash
curl -X POST \
https://api.axisdocs.dev/v1/licenses/activate \
-H "Authorization: Bearer axd_live_98f2c1a4" \
-H "Content-Type: application/json" \
-d '{"key":"AXD-PRO-4F8A-91C2","host":"docs.example.com"}'
```
### TypeScript
```ts
const res = await fetch("https://api.axisdocs.dev/v1/licenses/activate", {
method: "POST",
headers: {
Authorization: "Bearer axd_live_98f2c1a4",
"Content-Type": "application/json",
},
body: JSON.stringify({
key: "AXD-PRO-4F8A-91C2",
host: "docs.example.com",
}),
});
const license = await res.json();
```
### Python
```python
import httpx
res = httpx.post(
"https://api.axisdocs.dev/v1/licenses/activate",
headers={"Authorization": "Bearer axd_live_98f2c1a4"},
json={"key": "AXD-PRO-4F8A-91C2", "host": "docs.example.com"},
)
license_data = res.json()
```
## HTTP 200 OK (application/json)
```json
{
"activated": true,
"license_id": "lic_01J9X4K2M8P3",
"edition": "pro",
"activations_used": 1,
"activations_limit": 3,
"repository": "wtr1951/axisdocs-pro"
}
``` Astro 5 + Tailwind v4 + Cloudflare Workers Static Assets
One Astro workspace for docs, landing pages, and licensing.
Author endpoint references in typed MDX collections with instant language switching, native dialog search, and plain-text LLM export.
pnpm create astro --template wtr1951/axisdocs-lite POST /v1/licenses/activate
Validates a commercial license key against a deployment hostname and returns remaining seat capacity.
| Field | Type | Status | Description |
|---|---|---|---|
| key string / required | string | required | Commercial license identifier |
| host string / required | string | required | Target deployment domain |
| label string / optional | string | optional | Environment label for audit log |
curl -X POST \
https://api.axisdocs.dev/v1/licenses/activate \
-H "Authorization: Bearer axd_live_98f2c1a4" \
-H "Content-Type: application/json" \
-d '{"key":"AXD-PRO-4F8A-91C2","host":"docs.example.com"}' const res = await fetch("https://api.axisdocs.dev/v1/licenses/activate", {
method: "POST",
headers: {
Authorization: "Bearer axd_live_98f2c1a4",
"Content-Type": "application/json",
},
body: JSON.stringify({
key: "AXD-PRO-4F8A-91C2",
host: "docs.example.com",
}),
});
const license = await res.json(); import httpx
res = httpx.post(
"https://api.axisdocs.dev/v1/licenses/activate",
headers={"Authorization": "Bearer axd_live_98f2c1a4"},
json={"key": "AXD-PRO-4F8A-91C2", "host": "docs.example.com"},
)
license_data = res.json() {
"activated": true,
"license_id": "lic_01J9X4K2M8P3",
"edition": "pro",
"activations_used": 1,
"activations_limit": 3,
"repository": "wtr1951/axisdocs-pro"
} Built for zero-runtime edge delivery
Every route compiles to static HTML and CSS while reserving Cloudflare Worker execution strictly for checkout webhooks.
Four Studio Themes
Precision Slate, Daylight Paper, Terminal Moss, and Nordic Steel synchronize surface contrast and Shiki tokens before first paint.
data-studio-theme
Offline Pagefind Search
Compressed Pagefind shards serve from Cloudflare static assets and query natively inside a Ctrl+K modal with zero Worker requests.
<dialog closedby="any">
Versioned MDX Docs
Typed Zod collections organize v2 and legacy v1 references with dual-pane endpoints, deprecation banners, and Copy for LLMs.
v2 + v1 + ApiEndpoint
Build-Time OG & Edge
Pro generates local 1200x630 Satori/Resvg OG PNGs from bundled OFL fonts while this storefront routes Creem webhooks on Workers.
1200x630 + /api/*
Lite MIT starter vs Pro commercial kit
Evaluate the open-source starter in production first, then upgrade when you need commercial pages, search modal, and automated delivery.
| Capability | MIT Lite ($0) | Pro ($49) | Team ($99) | |
|---|---|---|---|---|
| Homepage & Changelog | MIT Lite ($0) Precision Slate split hero | Pro ($49) & Team ($99) 3 Hero scenarios + Monthly/Annual toggle + /changelog | Pro ($49) 3 Hero scenarios + Monthly/Annual toggle + /changelog | Team ($99) 3 Hero scenarios + Monthly/Annual toggle + /changelog |
| Documentation & Search | MIT Lite ($0) Single-level MDX + Shiki | Pro ($49) & Team ($99) v1/v2 MDX + ApiEndpoint + Pagefind + Copy for LLMs | Pro ($49) v1/v2 MDX + ApiEndpoint + Pagefind + Copy for LLMs | Team ($99) v1/v2 MDX + ApiEndpoint + Pagefind + Copy for LLMs |
| Themes & Navigation | MIT Lite ($0) Precision Slate Dark & Light | Pro ($49) & Team ($99) 4 WCAG AA themes + Zero-FOUC + View Transitions | Pro ($49) 4 WCAG AA themes + Zero-FOUC + View Transitions | Team ($99) 4 WCAG AA themes + Zero-FOUC + View Transitions |
| OG, SEO & Legal | MIT Lite ($0) Basic meta tags | Pro ($49) & Team ($99) Build-time 1200x630 OG PNGs + JSON-LD + /privacy /terms /refund | Pro ($49) Build-time 1200x630 OG PNGs + JSON-LD + /privacy /terms /refund | Team ($99) Build-time 1200x630 OG PNGs + JSON-LD + /privacy /terms /refund |
| Packaging & Delivery | MIT Lite ($0) Public MIT GitHub repo | Pro ($49) Standalone ZIP + private wtr1951/axisdocs-pro invite | Team ($99) Standalone ZIP + 5 private repo collaborator seats | |
| Support SLA | MIT Lite ($0) Community GitHub issues | Pro ($49) & Team ($99) Weekend Support SLA: Sat-Sun (UTC+8) | Pro ($49) Weekend Support SLA: Sat-Sun (UTC+8) | Team ($99) Weekend Support SLA: Sat-Sun (UTC+8) |
One-time licensing with asynchronous support
Pay once via Creem.io Merchant of Record. Instant archive download plus automated GitHub collaborator invite.
Weekend Support SLA: Sat-Sun (UTC+8)
MIT Lite
$0Open-source Astro 5 + Tailwind v4 starter with single-level MDX docs and Precision Slate palette.
- MIT licensed source repository
- OFL Geist and JetBrains Mono fonts
- Community GitHub issue tracker
Available immediately under the MIT License via live preview.
Pro Single
$49Three Hero scenarios, four WCAG AA studio themes, v1/v2 MDX endpoints, Pagefind search, build-time OG PNGs, and legal pages.
- Unlimited personal and client end-products
- Automated Creem ZIP + GitHub Pro repo invite
- Weekend Support SLA: Sat-Sun (UTC+8)
Automated ZIP archive & GitHub repo invite go live upon Creem.io merchant activation.
Team 5-Seat
$99Everything in Pro with collaborator seats for up to five engineers on your organization repositories.
- 5 private GitHub repository collaborator seats
- Priority weekend queue triage (Sat-Sun UTC+8)
- Perpetual commercial license for client builds
Automated 5-seat GitHub repository invites go live upon Creem.io merchant activation.