✨ MoEngage NEXT Spring 2026 — The Future of Engagement is Agentic. Join us on April 28. Register now
curl --request GET \
--url https://api-{dc}.moengage.com/v2/email-templates/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'MOE-APPKEY: <moe-appkey>'{
"status": "success",
"template_id": "645a0cec10e0307e6d7f7716",
"template_name": "End_of_season_sale_template",
"subject": "",
"template_content": "<!DOCTYPE html><html>...</html>",
"attachments": [],
"source": "Partner",
"sender_name": "Your Brand Name",
"editor": "Froala Editor",
"created_date": "2023-05-09 09:05:46.350000",
"updated_at": "2023-05-09 10:00:57.149000",
"updated_by": "john.doe@example.com"
}This API fetches an email template using its template ID.
curl --request GET \
--url https://api-{dc}.moengage.com/v2/email-templates/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'MOE-APPKEY: <moe-appkey>'{
"status": "success",
"template_id": "645a0cec10e0307e6d7f7716",
"template_name": "End_of_season_sale_template",
"subject": "",
"template_content": "<!DOCTYPE html><html>...</html>",
"attachments": [],
"source": "Partner",
"sender_name": "Your Brand Name",
"editor": "Froala Editor",
"created_date": "2023-05-09 09:05:46.350000",
"updated_at": "2023-05-09 10:00:57.149000",
"updated_by": "john.doe@example.com"
}Documentation Index
Fetch the complete documentation index at: https://moengage-crashes-in-debug-feedback.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
This is the Template id of the template being searched. The template id is a unique identifier that is generated at the time of template creation.
"63f30792c66ddcaac2ef9109"
This response is returned when the request is processed successfully.
This field contains the status of the request and denotes whether it was successful or not.
"success"
This field contains the id of the created template when the request is successful and the error details in case of an unsuccessful request.
"645a0cec10e0307e6d7f7716"
"End_of_season_sale_template"
subject of the template being fetched
html content of the template
The attachments field is a list of JSON Objects that contain the details about an attachment, such as its type, url, name, id, and so on.
Show child attributes
source of the template being fetched
timestamp of template creation
timestamp of when the template was last updated
details about who created or updated the template
Was this page helpful?