Skip to content

List a Site's versions

GET/v1/organization/{orgId}/sites/{siteId}/versions

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

Every publish, newest first, with a plain-language summary of what it changed. A Site's first publish also keeps the Site as it was before (source: baseline). Draft checkpoints are listed too (source: checkpoint): an unpublished draft by someone else, kept before an API or assistant edit changed it. Restoring any version writes the draft, never live. Also at GET /v1/sites/{siteId}/versions.

Request example

Terminal window
curl --request GET \
--url 'https://public-api.sessionboard.com/v1/organization/{orgId}/sites/{siteId}/versions' \
--header 'x-access-token: <api-token>'

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
GET

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

  • orgIdstringpathrequired

    Your organization ID. Any other organization returns 404.

  • siteIdstring<uuid>pathrequired

    The Site's id from List Sites.

Responses

200application/json

OK

  • payloadobject
    Show child attributes
    • versionsSiteVersion[]
      Show child attributes
      • idstring<uuid>
      • versioninteger

        0 is the Site before its first versioned publish.

      • sourcestring
        Allowed values
        "publish", "baseline", "checkpoint"
      • summarystring[]
      • created_byinteger | null
      • created_atstring<date-time>

403

  • SCOPE_REQUIRED — the token lacks read:sites (or read:marketing, read:learning, read:awards) for reads, or the matching write: scope for writes.
  • FORBIDDEN — the token's user cannot edit this Site.

Response examples

{
"payload": {
"versions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"source": "publish",
"summary": [
"<string>"
],
"created_by": 123,
"created_at": "2026-01-15T09:30:00Z"
}
]
}
}