⚠️ This documentation pertains to a preview endpoint. This feature is not yet ready for API consumption and may change. For inquiries or feedback, please contact us at Glean.
Create anonymous token
post/createanonymoustoken
Create an authentication token for an anonymous user of external search.
SecurityBearerAuth
Responses
200
OK
Response Schema: application/json
expirationTime
required
integer <int64>
Unix timestamp for when this token expires (in seconds since epoch UTC).
token
required
string
An authentication token that can be passed to any endpoint via Bearer Authentication
400
Invalid Request
403
Forbidden. This can be returned if external search for anonymous users is not enabled.