---
title: "Get"
method: GET
path: "/mail_templates/{template_id}"
tags: ["Mail templates"]
---

# Get

`GET /mail_templates/{template_id}`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/mail_templates/{template_id}`
- Auth: HTTP bearer

Get custom template by ID

## Path parameters

- `template_id` string, required

## Headers

- `x-monite-version` string, required

## Response `200`

Successful Response

- CustomTemplateDataSchema
  - `id` string, uuid, required: ID of email template
  - `created_at` string, date-time, required: Template created date and time
  - `updated_at` string, date-time, required: Template updated date and time
  - `body_template` string, required: Jinja2 compatible email body template
  - `is_default` boolean, required: Is default template
  - `language` string, required: Lowercase ISO code of language
  - `name` string, required: Name of the template
  - `subject_template` string, required: Jinja2 compatible email subject template
  - `type` string, required: Document type of content

## Other responses

- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/monite/apis/monite-3.md) - [All operations](https://skmtc.dev/monite/apis/monite-3/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-3/revisions/c13be6f83ce9?raw)
