Templates

Resolve a template into a ready-to-use outline

Loads one of your templates and returns it resolved into the shape the brief-creation and playbook flows consume: the outline sections mapped to outline entries (each tagged source: "template"), the template's field defaults, and its boilerplate blocks. Requires the read:content scope. Read-only — nothing is created or modified.

The lookup is organization-scoped and skips soft-deleted rows, and a template that exists but is disabled is refused as well; both refusals come back as 404 in the plain { "data": { "error": ... } } envelope with the reason in error (Template not found / This template is currently disabled). Note the response does not carry the template's content_type.

The three payload keys are snake_case, but the objects inside them keep the stored camelCase field names.

post/templates/apply

Request

  • Base URL: https://next.frase.io/api/v1
  • URL: https://next.frase.io/api/v1/templates/apply
  • Auth: API key in header X-API-KEY

Request body

template_idstring uuid required

Required. The template to apply. Must be a UUID.

Response

The resolved template

Changes

No recorded changes to this operation across all 1 revision of this API.