Skip to main content
PUT
Save timeline edits to the canvas HTML, refusing to overwrite a newer version.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

canvasId
string
required

Body

application/json

The edited canvas HTML

Request body for saving edited canvas HTML

companyId
string
required

Company ID

htmlContent
string
required

The complete canvas HTML document

baseHtmlSha256
string

SHA-256 of the HTML the edit was made on; a mismatch returns 409

Response

Updated canvas design

Canvas design

id
string

Canvas ID

companyId
string

Company ID

name
string

Canvas name

width
integer

Canvas width in pixels

height
integer

Canvas height in pixels

format
string

Named canvas format id, when the size came from one

htmlContent
string

The standalone HTML document for the canvas

animated
boolean

Whether the canvas is animated (exports a looping MP4 instead of a PNG)

videoDuration
number

Loop length in seconds for animated canvases

imageId
string

Images table id of the last render

imageUrl
string

Public PNG URL of the last render

videoId
string

Videos table id of the last recording (animated canvases)

videoUrl
string

Public MP4 URL of the last recording (animated canvases)