Get Template by Name or ID
Get Template by Name or ID
This endpoint retrieves the full details of an email template in mailercloud. You can fetch a template either by passing the template name or its ID in the query parameters.
curl --request GET \
--url https://cloudapi.mailercloud.com/v1/templates/details?name=example \
--header 'Authorization: Your API Key here'
curl --request GET \
--url https://cloudapi.mailercloud.com/v1/templates/details?id=abc \
--header 'Authorization: Your API Key here'
GET
Get Template by Name or ID