# Templates

Templates resources of the Mailjet Email API.

## Template List

 - [GET /v3/REST/template](https://dev.mailjet.com/openapi/openapi-mailjet/templates/get_v3_template.md): Retrieve a list of all templates and their configuration settings.

## Create Template

 - [POST /v3/REST/template](https://dev.mailjet.com/openapi/openapi-mailjet/templates/post_v3_template.md): Create a new email template object and select its basic configuration settings.

## Template by ID

 - [GET /v3/REST/template/{template_ID}](https://dev.mailjet.com/openapi/openapi-mailjet/templates/get_v3_template_id.md): Retrieve the configuration settings for a specific template. To obtain a valid template_ID, first call GET /v3/REST/template to list your templates.

## Update Template

 - [PUT /v3/REST/template/{template_ID}](https://dev.mailjet.com/openapi/openapi-mailjet/templates/put_v3_template_id.md): Update the configuration settings of an email template. To obtain a valid template_ID, first call GET /v3/REST/template to list your templates.

## Delete Template

 - [DELETE /v3/REST/template/{template_ID}](https://dev.mailjet.com/openapi/openapi-mailjet/templates/delete_v3_template_id.md): Delete an email template.

## Get Template: Detail Content

 - [GET /v3/REST/template/{template_ID}/detailcontent](https://dev.mailjet.com/openapi/openapi-mailjet/templates/get_v3_template_id_detailcontent.md): Retrieve the contents of an email template. It will be split between a Text part, HTML part, MJML content and/or additional headers. To obtain a valid template_ID, first call GET /v3/REST/template to list your templates.

## Template: Detail Content

 - [POST /v3/REST/template/{template_ID}/detailcontent](https://dev.mailjet.com/openapi/openapi-mailjet/templates/post_v3_template_id_detailcontent.md): Create the contents of an email template. You can select a Text part, HTML part, MJML content, as well as additional headers. To obtain a valid template_ID, first call GET /v3/REST/template to list your templates.

## Update Template: Detail Content

 - [PUT /v3/REST/template/{template_ID}/detailcontent](https://dev.mailjet.com/openapi/openapi-mailjet/templates/put_v3_template_id_detailcontent.md): Update the contents of an email template - the Text part, HTML part, MJML content and/or the additional headers. To obtain a valid template_ID, first call GET /v3/REST/template to list your templates.

