Skip to main content
POST
Mint a scoped API key (headless bootstrap)

Authorizations

Authorization
string
header
required

OAuth 2.1 access token (Authorization: Bearer <jwt>), issued by the Flow9 authorization server to MCP clients and OAuth integrations. Carries the same module:action scopes as an API key and is subject to the same rate limits and tenant isolation. On /v1/api-keys ONLY, this header carries a Company_Admin session token instead.

Body

application/json
name
string
required
scopes
string[]
required
description
string | null
environment
enum<string>
Available options:
live,
test
expires_at
string<date-time> | null

Response

Key created — raw_key shown once

success
enum<boolean>
Available options:
true
data
object
meta
object