Skip to main content
POST
Create Api Key

Headers

authorization
string | null
x-api-key
string | null
x-tenant-id
string | null

Cookies

factio_access_token
string | null

Body

application/json
name
string
required

Human-readable name for the API key

Required string length: 1 - 255
scopes
string[] | null

Optional list of scopes/permissions

Response

Successful Response

id
string<uuid>
required

API key ID

name
string
required

API key name

api_key
string
required

API key value (shown only once)

key_prefix
string
required

Key prefix for identification

created_at
string<date-time>
required

Creation timestamp