curl --request POST \
--url https://public-api.sessionboard.com/v1/event/{eventId}/dashboards/{dashboardId}/widgets/create \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"type": "<string>",
"title": "<string>",
"config": {},
"query": "<string>"
}
'Add a widget to a dashboard. Requires the write:events scope.
curl --request POST \
--url https://public-api.sessionboard.com/v1/event/{eventId}/dashboards/{dashboardId}/widgets/create \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"type": "<string>",
"title": "<string>",
"config": {},
"query": "<string>"
}
'Organization API token. Generate from Organization Settings → API Tokens.
Widget created