Create an API key
api-keys
Create an API key
Mint a new scoped API key for your tenant. The full key (tic_live_... or tic_test_...) is returned once and never stored. Requires scope api_keys:write.
POST
Create an API key
Authorizations
TIC API key as a bearer token: Authorization: Bearer tic_live_... or tic_test_.... Create keys in the dashboard at /platform/dashboard or via POST /api/v1/api-keys.
Body
application/json
Required string length:
1 - 120Available options:
live, test Required array length:
1 - 16 elementsAvailable options:
*, api_keys:write, credits:read, avatars:read, avatars:write, realtime:write, usage:read, usage:write Optional hard spend cap for this key, in credit micros.
Required range:
x >= 0Response
API key created — store apiKey now; it is not retrievable later.
Available options:
live, test Available options:
*, api_keys:write, credits:read, avatars:read, avatars:write, realtime:write, usage:read, usage:write Available options:
active, revoked, expired Full secret key (tic_live_... / tic_test_...). Shown once; store it now.