-
GET List ContentBlocksLists all ContentBlocks for the given tenant. Requires: ViewAll on ContentBlocks./tenants/{tenant}/contentblocks
-
POST Create ContentBlockCreates a new ContentBlock for the specified tenant. Requires: Create on ContentBlocks./tenants/{tenant}/contentblocks
-
GET Get ContentBlockGets a ContentBlock for the specified tenant. Requires: ViewAll on ContentBlocks./tenants/{tenant}/contentblocks/{code}
-
PUT Update ContentBlockUpdates a ContentBlock for the specified tenant. Requires: Update on ContentBlocks./tenants/{tenant}/contentblocks/{code}
-
DELETE Delete ContentBlockDeletes a ContentBlock for the specified tenant. Requires: Delete on ContentBlocks./tenants/{tenant}/contentblocks/{code}
-
GET List Library ContentBlocksList all ContentBlocks available in the library as templates. Use optional 'search' query parameter to filter by Code, Name, or Description. Requires.../tenants/{tenant}/contentblocks/library
-
GET Get Library ContentBlockGet details of a specific ContentBlock template from the library Requires: ViewAll on ContentBlocks./tenants/{tenant}/contentblocks/library/{code}
-
PUT Revert ContentBlock to LibraryReverts the ContentBlock to the current library template version, overwriting any local edits. The ContentBlock's code is preserved so it remains addr.../tenants/{tenant}/contentblocks/{code}/library-version
-
GET Get Template VariablesReturns template variables for content block rendering. When a clientCode is provided, variables are populated with client, partner, manager, practice.../tenants/{tenant}/contentblocks/template-variables
-
POST Render Content BlockRenders a content block's body HTML with Liquid tokens resolved using the provided template variables. When includeEmailBranding is true, wraps the re.../tenants/{tenant}/contentblocks/{code}/render
-
GET Preview Content BlockRenders a content block by code with template variables built server-side. When clientCode is supplied, hydrates client/business/contacts/practice/key.../tenants/{tenant}/contentblocks/{code}/render
-
POST Render Template StringRenders an arbitrary Liquid template string (e.g. a subject line) with the provided template variables. Returns the rendered string. Requires: ViewAl.../tenants/{tenant}/contentblocks/render-template
-
GET Get Content Block Email TokensReads a content block's tokens, including any blocks it includes, and says whether a client must be chosen, whether recipient tokens are used, and whi.../tenants/{tenant}/contentblocks/{code}/email-tokens
-
POST Render Content Block EmailCompletes a content block's subject and body for a one-off email, from the client and To addresses given. The result has no email header or footer, be.../tenants/{tenant}/contentblocks/{code}/render-email