Update a message template
Updates a workspace-owned message template. All fields are optional (at least one required); prompt text is re-validated and re-converted with the same strict token rules as create. Requires the AI variable split to be enabled for the workspace; otherwise returns 403.
Required scope:
AI_VARIABLES_WRITERate limit: 30 requests per minute
Authorizations
Path Parameters
1Body
1EMAIL, LINKEDIN, WHATSAPP, LINKEDIN_INMAIL, LINKEDIN_CONNECTION One entry per message in the sequence.
1Plain prompt text. Placeholders: {fieldId} for contact/company/CRM/formula/notes fields (discover via the contact/company field-metadata endpoints), {aiResearch:<id-or-name>}, {aiSnippet:<id-or-name>}, {aiMessage:<id-or-name>} for AI entity references. Validation is strict: unknown or ambiguous tokens return 400 with the invalid tokens and a sample of valid ones. Escape literal braces by doubling them ({{ and }}).
Subject line for EMAIL / LINKEDIN_INMAIL channels.