curl --request POST \
--url https://public-api.sessionboard.com/v1/queries/create \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"name": "<string>",
"query": "<string>",
"category": "<string>"
}
'Save a cross-event SbQL query. Organization is resolved from the API token. No orgId required. Requires the write:events scope.
curl --request POST \
--url https://public-api.sessionboard.com/v1/queries/create \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"name": "<string>",
"query": "<string>",
"category": "<string>"
}
'