Skip to main content
POST
Render Template

Authorizations

Authorization
string
header
required

Use your API key from the dashboard. Format: Bearer your-api-key-here

Path Parameters

id
string<uuid>
required

Template ID

Body

application/json
variables
object
required

Template variables as key-value pairs

format
enum<string>
default:html

Output format

Available options:
html,
react

Response

Template rendered successfully

success
boolean
Example:

true

html
string

Rendered HTML output (when format=html)

react
string

React component code (when format=react)