Skip to main content

Create an anonymous auth token

Creates a short-lived auth token for anonymous external search, for example with the Web SDK. Call this from your backend with an API token that has anonymous permissions and the anonymous_auth_tokens:write scope, then pass the returned token to the browser. The returned token acts as no user and expires at expires_at. Any other caller gets 403, and so does a deployment where anonymous external search is off.

Request​

Responses​

The anonymous auth token was created.