---
title: "Get email template by id"
method: GET
path: "/v4/email/templates/{id}"
tags: ["Email - Templates"]
---

# Get email template by id

`GET /v4/email/templates/{id}`

## Request

- Base URL: `https://api.inmobile.com`
- URL: `https://api.inmobile.com/v4/email/templates/{id}`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `apikey`

## Path parameters

- `id` string, required

## Response `200`

An email template

- EmailTemplateOutputApiModel
  - `id` string: The id of the email template.
  - `name` string: The name of the email template.
  - `html` string: The Html of the email template.
  - `text` string: The text version of the Html.
  - `subject` string: The subject of the email template.
  - `preheader` string: The preheader of the email.
  - `placeholders` string[]: A list of the placeholders found in the template html, text and subject.
  - `created` string: When the email template was created e.g. 2001-02-30T14:50:23Z (UTC time).
  - `lastUpdated` string: When the email template was last updated e.g. 2001-02-30T14:50:23Z (UTC time).

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/inmobile/apis/inmobile-rest-api.md) · [All operations](https://skmtc.dev/inmobile/apis/inmobile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inmobile/apis/inmobile-rest-api/revisions/197a90ad5f8f?raw)
