---
title: "View a template"
method: GET
path: "/template"
tags: ["Template API"]
---

# View a template

`GET /template`

## Request

- Base URL: `https://emailapi.netcorecloud.net/v5.1`
- URL: `https://emailapi.netcorecloud.net/v5.1/template`
- Auth: API key in header `api_key`

Retrieve and preview a stored template from the Netcore CPaaS dashboard.

Use this endpoint to fetch template content by template_id.

## Query parameters

- `template_id` string, required

## Headers

- `api_key` string, required

## Response `200`

Template details returned

- object
  - `data` object
    - `template_name` string
    - `content` object[]
      - `type` string
      - `value` string
  - `message` string
  - `status` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/netcorecloud/apis/email-api-v5.md) - [All operations](https://skmtc.dev/netcorecloud/apis/email-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/netcorecloud/apis/email-api-v5/revisions/7f81d8722ba3?raw)
