Skip to main content
POST
/
canvas-templates
/
{id}
/
render
Render Canvas Template
curl --request POST \
  --url https://api.example.com/canvas-templates/{id}/render \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "templateId": "<string>",
  "variables": {},
  "renderedOutput": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

The ID of the Canvas Template to render

Example:

"123"

Body

application/json
{key}

Any valid JSON value

Response

200 - application/json

Instantiation of the Canvas Template as a Canvas Template Instance

id
string
required
templateId
string
required
variables
object
required
renderedOutput
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required