Skip to main content

Update PDF Template

PUT 

/api/pdf-templates/:id

Updates the content of a PDF template and snapshots the previous content as a new version.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Bearer Personal Access Token with the settings scope (write access).

Fields:

  • content (required): the template markup string.
  • updated_at (optional): the template's last-known updated_at timestamp. When supplied it enables optimistic-lock checking so a concurrent edit is rejected instead of silently overwritten.

Request

Responses

OK

Response Headers
    Content-Type