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 design as it was in that version: name, description, tags, canvas size and pages_data. On a film it also includes film. Use it to diff two versions or to read an old value back. The snapshot can hold other fields too. Do not rely on them.

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 version's 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": {
    "name": "Launch banner",
    "description": "",
    "canvas_width": 1200,
    "canvas_height": 630,
    "pages_data": [{ "id": "p1", "name": "Cover", "elements": [ "…" ] }]
  }
}

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 40+ integrations
  • White-label embed for your own app
  • 100 free credits a month, no credit card required