provider messaging_templates PATCH /api/projects/{project_id}/messaging_templates/{id}/
@utdk/posthog /api/projects/{project_id}/messaging_templates/{id}/
messaging_templates_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
messagingTemplatesPartialUpdate
PATCH/api/projects/{project_id}/messaging_templates/{id}/

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

Human-readable template name shown in the library.

What the template is for and when to use it.

Template content keyed by channel. Replaced as a whole on update, not merged.

Message channel of the template. Currently 'email'.

Message category ID to file the template under. Must belong to the same project.

Soft-delete flag. Set true to remove the template from the library.

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