Skip to main content
POST
/
v1
/
embed
/
session
/
token
Exchange a session for an embed token
curl --request POST \
  --url https://{tenant}.cubecloud.dev/api/v1/embed/session/token \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sessionId": "<string>"
}
'
{
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Send Authorization: Api-Key <YOUR_API_KEY>.

Body

application/json

PostTokenBySessionIdInputDTO

sessionId
string
required

Response

200 - application/json
token
string
required