Account

Self-service product onboarding (Supabase-authed): activate the free tier + mint the first API key

Called by <product> login with a Supabase access_token. The product comes from the URL path (validated against the product registry — an unknown product 404s), never a request body. Verifies the token, resolves-or-creates the caller's org on that product's free tier (so the device license carries products.<product>), and returns a freshly minted API key bound to the caller's own membership. Idempotent per identity at the org level; never downgrades a paid plan.

post/v1/products/{product}/onboard

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/products/{product}/onboard
  • Auth: none declared

Path parameters

productstring required

Headers

authorizationstring nullable

Request body

namestring nullable
productstring nullable
planstring nullable

Response

Successful Response

idstring uuid required
labelstring required
key_prefixstring required
device_limitinteger required

Max registered devices for this key on the local runtime path. 0 preserves the plan's unlimited or no-local-runtime behavior.

raw_keystring required

The full API key — shown ONCE, store it securely.

created_atstring date-time required
expires_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.