Skip to main content
POST
/
v1
/
me
/
keys
Mint an API key
curl --request POST \
  --url https://api.onlyfanskit.dev/v1/me/keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
{
  "key": "<string>",
  "id": "<string>",
  "label": "<string>",
  "scopes": [
    "<string>"
  ],
  "createdAt": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer <key>.

Body

application/json
label
string
Maximum string length: 120
scopes
string[]

Optional narrower scope set. Must be a subset of the caller's own scopes.

Response

Created key (plaintext shown once)

key
string

Plaintext key — shown only on creation.

id
string
label
string | null
scopes
string[]
createdAt
string