curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/createanonymoustoken \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "expirationTime": 123
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
OK
token
string
required

An authentication token that can be passed to any endpoint via Bearer Authentication

expirationTime
integer
required

Unix timestamp for when this token expires (in seconds since epoch UTC).