---
title: "Get email template by ID"
method: GET
path: "/api/email-templates/{id}"
tags: ["Email templates"]
---

# Get email template by ID

`GET /api/email-templates/{id}`

Get the email template by its ID.

## Path parameters

- `id` string, required

## Response `200`

The email template.

- object
  - `tenantId` string, required
  - `id` string, required
  - `languageTag` string, required
  - `templateType` 'SignIn' | 'Register' | 'ForgotPassword' | 'OrganizationInvitation' | 'Generic' | 'UserPermissionValidation' | 'BindNewIdentifier' | 'MfaVerification' | 'BindMfa', required
  - `details` object, required
    - `subject` string, required
    - `content` string, required
    - `contentType` union
      - string, "text/html"
      - string, "text/plain"
    - `replyTo` string
    - `sendFrom` string
  - `createdAt` number, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — The email template was not found.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/revisions/a163dc77d842/schema)
