POST Generate API key with credentials
Authenticate with username/password and generate a new API key with specified scopes and expiration for programmatic access.
Are you an LLM? You can read better optimized documentation at /docs/api/endpoints/authentication/post-generate-api-key.md for this page in Markdown format
POST
Try it out https://api.rooom.com/generate-api-keyBody required
multipart/form-data| Name | Type | Description |
|---|---|---|
usernamerequiredExample: user@example.com | string | Username or email address |
passwordrequiredExample: SecurePass123! | string | User password |
namerequiredExample: Mobile App Integration | string | Descriptive name for the API key |
expiryExample: 2024-12-31 | string | API key expiration date (YYYY-MM-DD) |
scopesrequiredExample: [
"user:read",
"space:read",
"viewer:read"
] | array | List of permission scopes for the API key |
Responses
200Successfully generated API key
401Unauthorized
500Server error
POST /generate-api-key Generate API key with credentials Authenticate with username/password and generate a new API key with specified scopes and expiration for programmatic access. username Username or email address password User password name Descriptive name for the API key expiry API key expiration date (YYYY-MM-DD) scopes List of permission scopes for the API key