provider messaging_templates PATCH /api/projects/{project_id}/messaging_templates/{id}/design/
@utdk/posthog /api/projects/{project_id}/messaging_templates/{id}/design/
messaging_templates_design_partial_update
id path required
A UUID string identifying this message template.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
messagingTemplatesDesignPartialUpdate
PATCH/api/projects/{project_id}/messaging_templates/{id}/design/

Parameters

required

A UUID string identifying this message template.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

Ordered edits applied atomically to a template's Unlayer design: the stored design is read, the ops are applied in order, the result is validated and re-rendered to HTML, and it's saved only if valid — otherwise the template is unchanged. Reference blocks by id so you never resend the whole design.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.messagingTemplatesDesignPartialUpdate()