# Template: Detail Content

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.

Endpoint: POST /v3/REST/template/{template_ID}/detailcontent
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `template_ID` (integer, required)
    Unique numeric ID for the template you want to create contents for.
    Example: 3000

## Request fields (application/json):

  - `Headers` (object)
    List of default headers as {header_name}:{header_value} pairs.

  - `Headers.From` (string)
    Value should include the sender name and/or email address in the following formats - john@example.com or ` or "John Doe" `.

  - `Headers.Subject` (string)
    The subject line for this template.

  - `Headers.Reply-to` (string)
    The reply-to email address for this template.

  - `Html-part` (string)
    The HTML-formatted content of the template with Mustache-like logic.

  - `MJMLContent` (string)
    The content of the template in MJML.

  - `Text-part` (string)
    The plain text content of the template with Mustache-like logic.

## Response 201 fields (application/json):

  - `Count` (integer)
    Indicates the number of objects in the Data array.

  - `Data` (array)
    A JSON array containing a list of objects returned by this endpoint.

  - `Data.Headers` (object)
    List of default headers as {header_name}:{header_value} pairs.

  - `Data.Headers.From` (string)
    Value should include the sender name and/or email address in the following formats - john@example.com or ` or "John Doe" `.

  - `Data.Headers.Subject` (string)
    The subject line for this template.

  - `Data.Headers.Reply-to` (string)
    The reply-to email address for this template.

  - `Data.Html-part` (string)
    The HTML-formatted content of the template with Mustache-like logic.

  - `Data.MJMLContent` (string)
    The content of the template in MJML.

  - `Data.Text-part` (string)
    The plain text content of the template with Mustache-like logic.

  - `Total` (integer)
    Indicates the number of objects in the Data array.


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields

## Response 429 fields

## Response 500 fields
