Email Templates
Email templates returned.
Email template returned by the list endpoint.
Template identifier.
Cultures for which this template has design content.
GET /api/{tenantId}/admin/emailTemplates HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
Email templates returned.
[
{
"id": "text",
"cultures": [
"text"
]
}
]Creates the design source (and, if provided, the compiled subject/body) for one or more cultures of a new template. To duplicate an existing template, GET its content first and POST it back under a new id (or a new culture) here — there is no dedicated duplicate endpoint.
Authorization
Requires tenant.configuration.emailTemplate:write scope.
Request body to create a new email template.
Template identifier. Only alphanumeric characters, hyphens, underscores, dots and spaces are allowed, up to 50 characters.
Email template created.
Full definition of an email template, returned by get/create/save endpoints.
Template identifier.
Id or culture is invalid, or no culture was provided.
A template with this id already exists.
POST /api/{tenantId}/admin/emailTemplates HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"id": "text",
"cultures": {
"ANY_ADDITIONAL_PROPERTY": {
"html": "text",
"css": "text",
"subject": null,
"body": null
}
}
}{
"id": "text",
"cultures": {
"ANY_ADDITIONAL_PROPERTY": {
"html": "text",
"css": "text",
"subject": null,
"body": null
}
}
}Email template returned.
Full definition of an email template, returned by get/create/save endpoints.
Template identifier.
Email template not found.
GET /api/{tenantId}/admin/emailTemplates/{id} HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "text",
"cultures": {
"ANY_ADDITIONAL_PROPERTY": {
"html": "text",
"css": "text",
"subject": null,
"body": null
}
}
}Request body to save (create or update) culture content on an existing email template.
Email template saved.
Full definition of an email template, returned by get/create/save endpoints.
Template identifier.
A culture is invalid, or no culture was provided.
Email template not found.
PUT /api/{tenantId}/admin/emailTemplates/{id} HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"cultures": {
"ANY_ADDITIONAL_PROPERTY": {
"html": "text",
"css": "text",
"subject": null,
"body": null
}
}
}{
"id": "text",
"cultures": {
"ANY_ADDITIONAL_PROPERTY": {
"html": "text",
"css": "text",
"subject": null,
"body": null
}
}
}Email template (or culture) deleted.
No content
Culture is invalid.
Email template (or culture) not found.
DELETE /api/{tenantId}/admin/emailTemplates/{id} HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Last updated

