Query parameters
-
The language tag of the email template, e.g.,
enorfr.Minimum length is
1, maximum length is16. -
The type of the email template, e.g.
SignInorForgotPasswordValues are
SignIn,Register,ForgotPassword,OrganizationInvitation,Generic,UserPermissionValidation,BindNewIdentifier,MfaVerification, orBindMfa.
GET
/api/email-templates
curl \
--request GET 'https://[tenant_id].logto.app/api/email-templates' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"tenantId": "string",
"id": "string",
"languageTag": "string",
"templateType": "SignIn",
"details": {
"subject": "string",
"content": "string",
"contentType": "string",
"replyTo": "string",
"sendFrom": "string"
},
"createdAt": 42.0
}
]