cURL
curl --request GET \ --url https://api-{region}-{cluster}.benchmarkemail.com/api/email/template \ --header 'X-API-Key: <api-key>'
{ "records": [ { "attributeIds": [ "<string>" ], "id": "<string>", "imageUrl": "<string>", "lang": "<string>", "name": "<string>", "order": 2, "subject": "<string>", "unlayerId": "<string>" } ], "total": 123 }
Get email templates with optional filters
API key authentication
Language code
Search term to filter templates
Template attribute IDs to filter by
Flag to retrieve only internal templates (by default false)
Successful operation
Show child attributes
Total number of templates