---
title: "Get Email Template"
method: GET
path: "/communications/emails/templates/{email_template_id}"
tags: ["Email Template"]
---

# Get Email Template

`GET /communications/emails/templates/{email_template_id}`

Get an Email Template by Id or by Source Template Id.

## Path parameters

- `email_template_id` integer, required

## Query parameters

- `get_by_source_id` boolean

## Headers

- `x-api-key` string, required

## Response `200`

List of segments with their basic data.

- ResponseEmailTemplate — single template. for now only includes id, name, customer_id, json_content, html_content,
  - `id` integer, required — Email Template Id
  - `name` string — Name
  - `customer_id` integer — customer id
  - `html_content` string — html content
  - `attachments` EmailAttachment[]
    - `file_name` string — Name of the File
    - `mime_type` string — MIME type of the attachment
    - `file_storage_id` integer — The attachments filestorage ID (if null, the attachment is a media library attachment)
    - `media_library_id` string — The attachments Media Library ID (if null, the attachment is a filestorage attachment)

---

[API](https://skmtc.net/wodify/apis/leads.md) · [All operations](https://skmtc.net/wodify/apis/leads/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wodify/leads/revisions/974500ca0714/schema)
