Skip to main content
GET

Path Parameters

string
required
The template UUID. Must belong to an organization your account owns.

Update (PATCH) — Body Parameters

All fields optional; only the provided fields change.
organization_id and version are server-managed and must be omitted, not merely left unchanged. The request body is validated strictly, so sending either returns 400 validation_error. If you GET a template and send the response body straight back, strip both fields first.
string
Max 100 characters.
string
Max 300 characters.
string
Max 998 characters. Required to be non-empty when setting status to active.
string
Raw HTML with tokens.
string
Max 128 characters.
string[]
string
draft, active, or archived.
Deletion is only allowed for archived templates that no agent references. If an agent’s send_email tool still points at the template, the request returns 409 naming those agents.
A PATCH whose only change is {"status": "archived"} is never gated by Feature Administration — archiving must always be allowed. Any other content edit (including activating) 403s with email_templates_locked if the organization’s Email Template Manager capability is locked.