Skip to main content
GET
/
api
/
email
/
template
/
categories
Get email template categories
curl --request GET \
  --url https://api-{region}-{cluster}.benchmarkemail.com/api/email/template/categories \
  --header 'X-API-Key: <api-key>'
{
  "records": [
    {
      "attributes": [
        {
          "categoryId": "<string>",
          "id": "<string>",
          "lang": "<string>",
          "order": 123,
          "value": "<string>"
        }
      ],
      "id": "<string>",
      "lang": "<string>",
      "name": "<string>",
      "order": 123
    }
  ],
  "total": 123
}

Authorizations

X-API-Key
string
header
required

API key authentication

Query Parameters

lang
string
required

Language code

Response

Successful operation

records
object[]

List of template categories

total
integer

Total number of categories