---
title: "Make Default"
method: POST
path: "/mail_templates/{template_id}/make_default"
tags: ["Mail templates"]
---

# Make Default

`POST /mail_templates/{template_id}/make_default`

## Request

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

Make template default

## 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

- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

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