Create an email template
Create a TRIGGER or LAYOUT email template for the organization specified in organization_id. Authenticate with the House of Apps AI key (House-Of-Apps-Ai-Key).
Headers
House-Of-Apps-Ai-Key
House of Apps AI integration API key
Request
This endpoint expects an object.
name
template_type
Email template kind: full layout shell or trigger body fragment.
Allowed values:
html_content
organization_id
Target organization UUID
id
Optional client-provided template UUID; server-generated when omitted
subject
Plain email subject line (no variable placeholders)
variables
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
Created
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