AxisDocs
AxisDocs

V2 / API Reference

API Activation Reference

Validate and bind a license key to a deployment hostname using the dual-pane v2 activation endpoint.

Use the v2 activation endpoint to register a deployment hostname against a commercial license key and inspect remaining seat capacity.

POST

/v2/licenses/activate

HTTP 200 OK

Registers an instance hostname against a commercial license key and returns the updated seat ledger.

Request parameters for POST /v2/licenses/activate
Parameter Type Requirement Description
license_key string Required Issued commercial key prefixed with ax_live_ or ax_test_.
instance_host string Required Canonical deployment hostname (for example docs.example.com).
environment enum Optional Target environment: production or staging.
metadata object Optional Optional key-value tags stored with the activation record.
curl -X POST \
https://api.axisdocs.dev/v2/licenses/activate \
-H "Authorization: Bearer $AXIS_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"license_key":"ax_live_98f2c1","instance_host":"docs.example.com","environment":"production"}'
Response Payload application/json
{
"status": "activated",
"version": "v2",
"activation_id": "act_01J9XK2P7M",
"instance_host": "docs.example.com",
"environment": "production",
"repository": "wtr1951/axisdocs-pro",
"seats_remaining": 4
}
Type to search full-text index Pagefind / Static
Getting Started with AxisDocs V2 / Overview Scaffold the MIT Lite starter or Pro bundle with Astro 5, Tailwind CSS v4, four studio themes, and zero client framework runtime. Authentication V2 / Security Configure bearer token headers, HMAC webhook signature verification, and environment-scoped keys in v2. API Activation Reference V2 / API Reference Validate and bind a license key to a deployment hostname using the dual-pane v2 activation endpoint. Workers Static Assets Deployment V2 / Deployment Host static Astro HTML, Pagefind search shards, and edge webhook routes using a single wrangler.jsonc configuration. Getting Started (v1) V1 / Overview Legacy v1 documentation entry retained for existing integrations migrating to v2. API Activation Reference (v1) V1 / API Reference Legacy v1 endpoint for binding a commercial license token to a single hostname. Pro Changelog Demo Pro Preview Typed Content Collection release notes for AxisDocs v1.4 through v2.1. 3 Hero Scenarios & Billing Toggle Pro Preview Interactive API Console, CLI Flow, Spec Sheet, and Monthly/Annual pricing demo. Architecture Grid Homepage 4 studio themes, offline Pagefind search, versioned MDX, and build-time OG PNGs. Lite vs Pro Comparison Homepage Feature breakdown across MIT Lite ($0), Pro ($49), and Team ($99) editions. Pricing and Weekend SLA Homepage One-time licensing via Creem.io with asynchronous Weekend Support SLA Sat-Sun (UTC+8). Privacy Policy Legal Local-first privacy policy and Merchant of Record checkout metadata rules. Terms of Service Legal Commercial license grant, redistribution restrictions, and Weekend Support SLA. Refund Policy Legal 7-day unaccessed order policy and verifiable build defect resolution.