Template
Create an email template
Create a new email template for the current user's tenant.
post/templates/
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
tenant_idinteger
cookie_namestring nullable
Request body
Example request
{
"name": "Welcome email",
"text_body": "Welcome to Neuland AI Hub!",
"html_body": "<p>Welcome to Neuland AI Hub!</p>"
}Response
Successful Response
Example response
{
"id": 42,
"name": "Welcome email",
"text_body": "Welcome to Neuland AI Hub!",
"html_body": "<p>Welcome to Neuland AI Hub!</p>"
}Changes
No recorded changes to this operation across all 1 revision of this API.