Skip to main content
POST
/
api
/
v1
/
auth
/
token
Create JWT from API key
curl --request POST \
  --url http://127.0.0.1:4000/api/v1/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "apiKey": "<string>",
  "agentId": "<string>"
}
'
{
  "token": "<string>",
  "apiKeyId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://familyco.mintlify.app/llms.txt

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

Body

application/json
apiKey
string
required
Minimum string length: 1
agentId
string
Minimum string length: 1

Response

Token created

token
string
required
tokenType
enum<string>
required
Available options:
Bearer
apiKeyId
string
required
level
enum<string>
required
Available options:
L0,
L1,
L2