create_document_template with a user credential and note_document_template:write. To share the template at creation, add workspaceGuid for a workspace where you can write. A workspace-bound user key creates in its own workspace by default. Built-in templates are read-only.
list_document_templates with {"pagination":{"size":20}} for compact metadata. Pass the returned nextCursor as pagination.cursor for the next page. A null cursor marks the end. The no-argument call keeps its existing section details and totals.
Read and update a section
Use the returnedtemplateId with get_document_template. Each section includes its ID and display order. note_document_template:read grants read access. OAuth clients need a grant for the new write scope to create, update or delete.
In update_document_template, send the fields to change. An existing section needs its ID. An entry without an ID adds a new section. To remove one, send only id and delete: true. Omitted sections and fields are preserved. Keep 1–100 sections. Template and section titles accept up to 120 characters. Explicit null fields return 400.
delete_document_template with templateId after confirming deletion. A subsequent get returns 404.