Skip to main content
POST
/
api
/
auth
/
tokens
/
anon
Get anon key (deprecated)
curl --request POST \
  --url https://api.example.com/api/auth/tokens/anon \
  --header 'Authorization: Bearer <token>'
{
  "accessToken": "anon_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcd",
  "message": "Anon key retrieved successfully (deprecated route, use GET /api/metadata/anon-key)"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Anon key retrieved successfully

accessToken
string

Opaque anon key (legacy field name kept for compatibility)

Example:

"anon_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcd"

message
string

Success message

Example:

"Anon key retrieved successfully (deprecated route, use GET /api/metadata/anon-key)"