Update email template
Update a TRIGGER or LAYOUT email template identified by id for the organization specified in organization_id. Authenticate with the House of Apps AI key (House-Of-Apps-Ai-Key). Variables use the same full-list shape as create.
Headers
House-Of-Apps-Ai-Key
House of Apps AI integration API key
Request
This endpoint expects an object.
id
Email template UUID
organization_id
Target organization UUID
name
subject
Plain email subject line (no variable placeholders)
html_content
variables
Full variable tree replacement (same shape as create)
status
Email template publish state (enforced in API; stored as text in DB).
Allowed values:
is_default
When true on a LAYOUT, marks the org default shell used by TRIGGER render
Response
OK
status
Response status
message
Human-readable success message
statusCode
HTTP status code
code
Custom application status code
data
Payload for this endpoint
Errors
422
Unprocessable Entity Error