Create API key
POST/v1/api_keys
Creates an active key, valid for one year unless expires_at says otherwise. The secret (key) is returned ONCE in this response — only its hash is stored. Requires a person who reaches every workspace (organization owner or granted on each one), as in the dashboard.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Key created, with the secret in key (shown only now).
Missing body, invalid JSON or incompatible fields.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.