Skip to main content
This is an owner-only endpoint — public viewers (recipients with just a share URL token) cannot list versions. Pinning and version history are the owner’s controls.

Endpoint

GET https://europe-west1-slideless-ai.cloudfunctions.net/listPresentationVersions/{presentationId}

Auth

HeaderValue
AuthorizationBearer cko_… (or cka_…) — must belong to the presentation’s owner
Required scope: presentations:read.

Path parameter

NameTypeDescription
presentationIdstringPresentation ID

Response (200)

{
  "success": true,
  "data": {
    "presentationId": "019dba77-4a1d-716e-8993-61e7c5771a7b",
    "currentVersion": 3,
    "versions": [
      {
        "version": 1,
        "title": "Q3 investor deck",
        "createdAt": "2026-04-23T13:11:16.045Z",
        "createdBy": "xuCsp5SZoMTmQJprofJtMQNQGY23",
        "fileCount": 4,
        "totalBytes": 4199
      },
      {
        "version": 2,
        "title": "Q3 investor deck",
        "createdAt": "2026-04-23T13:11:46.410Z",
        "createdBy": "xuCsp5SZoMTmQJprofJtMQNQGY23",
        "fileCount": 4,
        "totalBytes": 4010
      },
      {
        "version": 3,
        "title": "Q3 investor deck v3",
        "createdAt": "2026-04-23T15:00:00.000Z",
        "createdBy": "xuCsp5SZoMTmQJprofJtMQNQGY23",
        "fileCount": 5,
        "totalBytes": 812400
      }
    ]
  }
}
Versions are returned in ascending order (oldest first). currentVersion is the one that latest-mode tokens currently resolve to.

Errors

StatusCodeCause
400invalid-argumentMissing presentationId in path
401unauthenticatedMissing/invalid API key
403permission-deniedNot the presentation’s owner
404not-foundNo presentation with that presentationId

Next