retrieve Email Template With Id

GET {{baseUrl}}/api/email/template/:emailTemplateId

Retrieves the email template for the given Id. If you don't specify the id, this will return all the email templates.

HEADERS

KeyDatatypeRequiredDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
Acceptstring

RESPONSES

status: OK

{"emailTemplate":{"defaultFromName":"\u003cstring\u003e","defaultHtmlTemplate":"\u003cstring\u003e","defaultSubject":"\u003cstring\u003e","defaultTextTemplate":"\u003cstring\u003e","fromEmail":"\u003cstring\u003e","id":"\u003cuuid\u003e","insertInstant":"\u003clong\u003e","lastUpdateInstant":"\u003clong\u003e","localizedFromNames":{},"localizedHtmlTemplates":{},"localizedSubjects":{},"localizedTextTemplates":{},"name":"\u003cstring\u003e"},"emailTemplates":[{"defaultFromName":"\u003cstring\u003e","defaultHtmlTemplate":"\u003cstring\u003e","defaultSubject":"\u003cstring\u003e","defaultTextTemplate":"\u003cstring\u003e","fromEmail":"\u003cstring\u003e","id":"\u003cuuid\u003e","insertInstant":"\u003clong\u003e","lastUpdateInstant":"\u003clong\u003e","localizedFromNames":{},"localizedHtmlTemplates":{},"localizedSubjects":{},"localizedTextTemplates":{},"name":"\u003cstring\u003e"},{"defaultFromName":"\u003cstring\u003e","defaultHtmlTemplate":"\u003cstring\u003e","defaultSubject":"\u003cstring\u003e","defaultTextTemplate":"\u003cstring\u003e","fromEmail":"\u003cstring\u003e","id":"\u003cuuid\u003e","insertInstant":"\u003clong\u003e","lastUpdateInstant":"\u003clong\u003e","localizedFromNames":{},"localizedHtmlTemplates":{},"localizedSubjects":{},"localizedTextTemplates":{},"name":"\u003cstring\u003e"}]}