Appearance
Publish template
POST
/api/v1/templates/{id}/publish
Promotes the draft to the published copy, changing what /render serves. Publishing a template with no unpublished changes succeeds and reports published: false, so a caller never has to check first. Bearer tokens must match the template and must not be readonly.
Authorizations
ApiKeyAuth
Long-lived account credential. Create one from the dashboard.
Type
API Key (header: x-api-key)
or
BearerAuth
Short-lived presigned token scoped to a single template (minted via /presigned-url).
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Type
Requiredstring
Example
"bonipyZlnbwtYVSzQO3AA"Responses
Publish applied, or nothing to publish.
application/json
When the published copy last changed.
False when there were no unpublished changes to publish.