Get all email templates

You can use this API to get a list of available email templates in your MoEngage account 

API Endpoint

GET https://dashbord-0X.moengage.com/getAllEmailTemplates

Here, 0X refers to your datacenter on MoEngage. Read more about MoEngage DCs

Request Headers

Key Sample value Description
Authorization Basic <User:Password>

We accept Base 64 encoded Username:Password

Here,
- Username is the APP_ID. You can access your MoEngage App ID  by navigating to Settings > APIs> APP ID on your MoEngage Dashboard.

- Password is the Data API Key. You can access your MoEngage Data API Key  by navigating to Settings > APIs> Data API Key on your MoEngage Dashboard.

Response

Important 

Templates built using the Drag & Drop Editor are not provided in this response.

Sample successful response: 

{
"templates":
[{
"updated_by": "geetima@moengage.com",
"template_name": "alpha",
"is_archived": false,
"builder_supported": false,
"updated_at": "2022-08-01 06:31:14.241000",
"image_url": "",
"editor": "Froala Editor",
"created_date": "2022-07-20 12:30:00.748000",
"template_id": "62d7f549467b2f1a56929e5a"
}],
"no_of_templates": "3"
}
 
 

 

 

Was this article helpful?
0 out of 0 found this helpful