Skip to main content
POST
/
api
/
auth
/
tokens
/
anon
Generate anonymous token
curl --request POST \
  --url https://api.example.com/api/auth/tokens/anon \
  --header 'Authorization: Bearer <token>'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "message": "Anonymous token generated successfully (never expires)"
}

Authorizations

Authorization
string
header
required

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

Response

Anonymous token generated successfully

accessToken
string

Non-expiring anonymous JWT token

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

message
string

Success message

Example:

"Anonymous token generated successfully (never expires)"