---
title: "Returns the template information"
method: GET
path: "/smtp/templates/{templateId}"
tags: ["Transactional emails"]
---

# Returns the template information

`GET /smtp/templates/{templateId}`

## Path parameters

- `templateId` integer, required

## Response `200`

Email template informations

- GetSmtpTemplateOverview
  - `id` integer, required — ID of the template
  - `name` string, required — Name of the template
  - `subject` string, required — Subject of the template
  - `isActive` boolean, required — Status of template (true=active, false=inactive)
  - `testSent` boolean, required — Status of test sending for the template (true=test email has been sent, false=test email has not been sent)
  - `sender` GetSmtpTemplateOverviewSender, required
    - `name` string — From email for the template
    - `email` string, email — From email for the template
    - `id` string — Sender id of the template
  - `replyTo` string, email, required — Email defined as the "Reply to" for the template
  - `toField` string, required — Customisation of the "to" field for the template
  - `tag` string, required — Tag of the template
  - `htmlContent` string, required — HTML content of the template
  - `createdAt` string, required — Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
  - `modifiedAt` string, required — Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
  - `doiTemplate` boolean — It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call.

## Other responses

- `400` — bad request
- `404` — Template ID not found

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
