Skip to main content
POST
Generate Embed Token

Body

application/json
workspace_id
string
required

ID of the workspace

api_key_id
string
required

Your API Key ID (starts with ak_)

secret_key
string
required

Your Secret Key (starts with sk_)

dashboard_id
string
required

ID of the dashboard to embed

validity_duration
integer
default:3600

Token validity duration in seconds

Response

Token generated successfully

success
boolean

Indicates if the request was successful

message
string

Response message

data
object