Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier

Example:

"RiHO4e0Ju3DS"

Query Parameters

properties
enum<string>[]

Select the workspace iframe embed properties that should be returned

Available options:
customCode,
thumbnailUrl,
workspaceId,
templateIframeEmbedId,
createdAt,
updatedAt

Body

Provide exactly one of customCode or html.

customCode
string

An already-formed embed snippet (iframe HTML), stored verbatim. Provide exactly one of customCode or html.

Maximum string length: 200000
Example:

"<iframe src=\"https://example.com/embed\" width=\"100%\" height=\"400\"></iframe>"

html
string

Raw HTML for the embed — the API equivalent of the in-app Upload HTML button. The markup is structurally validated (400 on broken markup, with line/column), and a full HTML document (<!doctype html>, <html>, <head> or <body>) is wrapped in a sandboxed srcdoc iframe before being stored as the embed code; fragments are stored as-is. Max 1MB. Provide exactly one of customCode or html.

Maximum string length: 1048576
Example:

"<!doctype html><html><body><h1>Q3 Report</h1></body></html>"

Response

Update a workspace iframe embed by ID

data
object