Mint a new API key
Mint a brk_ API key. Returns the plaintext token exactly once.
The requested scopes must be a subset of the caller's effective scopes — no upscaling (RFC 6749 §3.3).
Requires the keys:write scope.
x-api-key<token>
Anthropic-style API key header.
In: header
Request Body
application/json
Request body. See the endpoint description for shape.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.bitrouter.ai/v1/keys" \ -H "Content-Type: application/json" \ -d '{}'{}{
"error": null
}{
"error": null
}{
"error": null
}How is this guide?