Template Details

Returns an array of transactional template IDs and associated attributes.

Rate Limit

This endpoint is subject to the general API rate limit of 50 requests per 10 seconds. Learn more about handling rate limits.

Notes

  • This function returns the details of all defined Optimail email templates.

Sample Request

https://apiX.optimove.net/current/transactionalmail/GetTemplateDetails

Sample Response

[
	{
		"TemplateID":1,
		"TemplateName":"Welcome Back English",
		"TemplateContent":"Hi [%FIRST_NAME%], welcome back!",
		"TemplateAttributes":[
			"Lovely","[email protected]","Welcome back!"
		],
	},
	{
		"TemplateID":2,
		"TemplateName":"Welcome Back Spanish",
		"TemplateContent":"¡Hola [%FIRST_NAME%], bienvenido de nuevo!",
		"TemplateAttributes":[
			"Lovely","[email protected]","Bienvenido de nuevo!"
		]
	}
]
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!