RECENT UPDATES:
05-Jun-2026 | v7.10.7 | All new article

Change Log

  • 05-Jun-2026 | v7.10.7 | All new article

Contributors:

{
  "id": 2418,
  "name": "Adam Wilson",
  "url": "/adam-wilson"
}
Adam Wilson - Logo Pogo

Email Templates API

Create, Retrieve, Update and Delete Email Templates via the public API endpoint using "where" filtering.

GET Email Templates List

Retrieves a list of Email Templates as a JSON response based on your provided query parameters.

/api/v2/admin/email-templates

Parameters

Parameter
Values
Required
Where
{<where query>}
Order_By
<propertyAlias>
Semantic_Query
<string>
Min_Score
<double>
Offset
<integer>
Limit
<integer>

Data / Response:

N/A
{
  "Items": [
    {
      "Id": "string",
      "Name": "string",
      "Body": "string"
    }
  ],
  "TotalItemsCount": 0
}

POST Email Template Create

Creates a new Email Template based on the provided data.

/api/v2/admin/email-templates

Data / Response:

{
  "Name": "string",
  "Body": "string"
}
{
  "Id": 0,
  "Name": "string",
  "EmailTemplateId": 0,
  "FromName": "string",
  "FromEmail": "user@example.com",
  "Subject": "string",
  "Body": "string",
  "CreatedDateTime": "2025-01-01T00:00:00.000Z",
  "GroupName": "string"
}

GET Email Template Item

Retrieves a single Email Template based on the ID passed in the endpoint URL.

/api/v2/admin/email-templates/{id}

Data / Response:

N/A
{
  "Id": "string",
  "Name": "string",
  "Body": "string"
}

PUT Email Template Update

Updates a single Email Template based on the ID passed in the endpoint URL and data provided.

/api/v2/admin/email-templates/{id}

Data / Response:

{
  "Name": "string",
  "Body": "string"
}
{
  "Id": 0,
  "Name": "string",
  "EmailTemplateId": 0,
  "FromName": "string",
  "FromEmail": "user@example.com",
  "Subject": "string",
  "Body": "string",
  "CreatedDateTime": "2025-01-01T00:00:00.000Z",
  "GroupName": "string"
}

DELETE Email Template Delete

Deletes a single Email Template based on the ID passed in the endpoint URL.

/api/v2/admin/email-templates/{id}

Data / Response:

N/A
Status 204