Skip to main content
POST
/
public
/
session-token
Generates a public session token that can be used for just a few very limited, public (unauthenticated) API calls.
curl --request POST \
  --url https://api.example.com/public/session-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "browserCode": "en-US"
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
browserCode
string | null
default:en-US

Response

Success

success
boolean
data
unknown