Skip to main content
POST
/
api
/
query
/
embed
/
token
Get embed access token for a visualization
curl --request POST \
  --url https://api.example.com/api/query/embed/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entity_id": 123,
  "username": "<string>",
  "first_name": "<string>",
  "last_name": "<string>"
}
'
"<string>"

Authorizations

Authorization
string
header
required

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

Body

application/json
entity_id
required
username
string | null
first_name
string | null
last_name
string | null

Response

Embed access token retrieved successfully.

The response is of type string.