Skip to content

Update a saved query

PUT/v1/event/{eventId}/queries/{queryId}

US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com

Update a saved query. Requires the write:events scope.

Request example

Terminal window
curl --request PUT \
--url 'https://public-api.sessionboard.com/v1/event/{eventId}/queries/{queryId}' \
--header 'x-access-token: <api-token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"query": "<string>",
"category": "<string>"
}'

Try it

Authorization

Your token stays in this page. It is sent only to the region above and is never saved; it is gone when you leave or reload the page.

Path parameters
Body application/json
PUT

Authorizations

  • x-access-tokenstringheader

    Organization API token. Generate from Organization Settings → API Tokens.

  • AuthorizationBearer <token>headeror

    OAuth 2.1 access token. Obtained via the OAuth PKCE flow at /oauth/token.

Send one of these. See Authentication.

Path parameters

  • eventIdintegerpathrequired
  • queryIdstringpathrequired

Request body

application/jsonrequired

  • namestring
  • querystring
  • categorystring
{
"name": "<string>",
"query": "<string>",
"category": "<string>"
}

Responses

200

Query updated

401

Unauthorized

403

Missing write:events scope

Get release notes by email

A short digest on the days something new goes live — each change with a link to its note in the release notes. No marketing, and one click to stop.

Company email addresses only. We’ll send one email to confirm it’s you. Already use Sessionboard? You can also turn this on under Community → What’s new.