Get email template by ID

GET /api/email-templates/{id}

Get the email template by its ID.

Path parameters

  • id string Required

    The unique identifier of the email template.

Responses

GET /api/email-templates/{id}
curl \
 --request GET https://[tenant_id].logto.app/api/email-templates/{id} \
 --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
}