Create a new API key for user authentication and authorization.
Use this endpoint when users sign up, upgrade subscription tiers, or need additional keys. Keys are cryptographically secure and unique to the specified API namespace.
Important: The key is returned only once. Store it immediately and provide it to your user, as it cannot be retrieved later.
Common use cases:
Required Permissions
Your root key needs one of:
api.*.create_key (create keys in any API)api.<api_id>.create_key (create keys in specific API)