Query parameters
-
languageTag string
The language tag of the email template, e.g.,
en
orfr
.Minimum length is
1
, maximum length is16
. -
templateType string
The type of the email template, e.g.
SignIn
orForgotPassword
Values are
SignIn
,Register
,ForgotPassword
,OrganizationInvitation
,Generic
,UserPermissionValidation
, orBindNewIdentifier
.
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
}
]