Tenants
Create a new API key
Changed onGenerate a new API key with specified scopes. The full key is returned only once in the response — store it securely.
post/api/tenants/me/api-keys
Request
- Base URLhttps://api.novabilling.one
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Production API Key",
"scopes": [
"read",
"write"
]
}Response
API key created. The key value is shown only once.
Example response
{
"id": "clx1234567890",
"key": "sk_live_abc123...",
"name": "Production API Key",
"scopes": [
"read",
"write"
]
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
to the response with the status
- info