Get Template Version

One version of a studio template, optionally with its full design

Updated

GET
/v1/studio/templates/{templateId}/versions/{versionId}
curl -X GET "https://api.orshot.com/v1/studio/templates/<TEMPLATE_ID>/versions/<VERSION_ID>?snapshot=<SNAPSHOT>" \
  -H "Authorization: Bearer <ORSHOT_API_KEY>"

Returns one version. Add ?snapshot=true to include the stored design (name, description, tags, canvas and pages_data), for example to diff two versions or to read an old value back.

Endpoint#

Endpoint
https://api.orshot.com/v1/studio/templates/:templateId/versions/:versionId

URL Parameters#

ParameterTypeRequiredDescription
templateIdIntegerYesID of the studio template
versionIdIntegerYesID of the version

Query Parameters#

ParameterTypeRequiredDefaultDescription
snapshotBooleanNofalseInclude the stored design under snapshot

Request#

JavaScript
await fetch(
  "https://api.orshot.com/v1/studio/templates/12345/versions/57?snapshot=true",
  { headers: { Authorization: "Bearer <ORSHOT_API_KEY>" } },
);
JSON
{
  "version": {
    "id": 57,
    "number": 12,
    "kind": "named",
    "label": "Approved for launch",
    "protected": true,
    "row_updated_at": "2026-09-15T11:31:19.576+00:00",
    "page_count": 3
  },
  "snapshot": {
    "v": 1,
    "name": "Launch banner",
    "description": "",
    "tags": "[\"launch\"]",
    "thumbnail_mode": "auto",
    "canvas_width": 1200,
    "canvas_height": 630,
    "canvas_data": { "width": 1200, "height": 630 },
    "elements_data": [],
    "pages_data": [{ "id": "p1", "name": "Cover", "elements": [ "…" ] }],
    "context": { "folder_id": null, "public_sharing_enabled": false }
  }
}

Error Responses#

Status CodeCodeDescription
400invalid_template_idtemplateId is not a numeric id
400invalid_version_idversionId is not a numeric id
400invalid_querysnapshot is not true or false
403enterprise_requiredAPI key without the Enterprise version history feature
404VERSION_NOT_FOUNDNo such version on this template
422SNAPSHOT_UNREADABLEThe stored design could not be decoded
Was this page helpful?

Ready to automate?

Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.

Get your API key
  • Image, PDF and video generation via API
  • Visual editor with AI and smart layouts
  • Zapier, Make, MCP and 50+ integrations
  • White-label embed for your own app
  • 30 free credits — no credit card required