Create and manage documents and document templates.
Host:editor_api_domain (from the token response) · Path prefix:/docktix/api/v1/ · Method:POST (parameter-less reads are GET) · every POST body also carries Firm_Id and Email · see Authentication for headers and errors. Use the same access token as for all other routes.
Route
Scope
Purpose
writer/documents/list
DocktixWriter.documents.READ
List documents (paged)
writer/documents/details
DocktixWriter.documents.READ
Get document details
writer/documents/contents/details
DocktixWriter.documents.READ
Get the document content
writer/documents/create
DocktixWriter.documents.CREATE
Create a document
writer/documents/update
DocktixWriter.documents.UPDATE
Change name and description
writer/documents/contents/update
DocktixWriter.documents.UPDATE
Save new content
writer/documents/delete
DocktixWriter.documents.DELETE
Delete a document
writer/templates/list
DocktixWriter.templates.READ
List templates (paged)
writer/templates/details
DocktixWriter.templates.READ
Get a template with its content
writer/templates/create
DocktixWriter.templates.CREATE
Create a template
writer/templates/update
DocktixWriter.templates.UPDATE
Change a template and/or its content
writer/templates/delete
DocktixWriter.templates.DELETE
Delete a template
Document and template content is exchanged as an SFDT JSON string (the editor's document format). An unknown or foreign Document_Id answers 404 Document not found.; an unknown or foreign Template_Id answers 404 Template not found.
Only together with Content_Detail; if omitted with it they are saved empty for that version
Send at least one field. Details and content are saved in two steps. Details answers { "Metadata_Updated": true|false, "Content_Updated": true|false }; if the details were saved but the content failed, the response says so and Metadata_Updated is true.