provider messaging_templates PATCH /api/environments/{environment_id}/messaging_templates/{id}/design/
@utdk/posthog /api/environments/{environment_id}/messaging_templates/{id}/design/
environments_messaging_templates_design_partial_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this message template.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMessagingTemplatesDesignPartialUpdate
PATCH/api/environments/{environment_id}/messaging_templates/{id}/design/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this message template.

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.environmentsMessagingTemplatesDesignPartialUpdate()