Create API key
API Keys
Create API Key
Create a new API key for the current tenant. The full key value is returned only once in the response — store it securely.
POST
Create API key
Authorizations
Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.
Body
application/json
A human-readable name for the key.
Required string length:
1 - 255Permissions granted to this key.
Permission scope for an API key. admin grants all permissions.
Available options:
upload, download, metadata, delete, admin Days until the key expires. Omit or pass null for no expiry.
Required range:
1 <= x <= 365Arbitrary key-value metadata.

