API Docs

Generate keys programmatically from your own backend.

Generate a key
POST https://kaizenreseller.xyz/api/keys
Content-Type: application/json
Cookie: kaizen_session=<your session>

{
  "product": "standard",   // standard | pro | ultra
  "duration": "30d"        // 1d | 7d | 30d | lifetime
}

// 200 OK
{ "ok": true, "key": { "key_value": "KAIZEN-XXXX-XXXX-XXXX-XXXX", ... } }
List your keys
GET https://kaizenreseller.xyz/api/keys

// 200 OK
{ "keys": [ { "key_value": "KAIZEN-...", "status": "active", ... } ] }

Note: API-key based authentication (header token) can be added later — right now the endpoints use your logged-in session.