---
title: "Get All Email Templates"
method: GET
path: "/mailagents/{mailagent-alias}/templates"
tags: ["email templates"]
---

# Get All Email Templates

`GET /mailagents/{mailagent-alias}/templates`

## Request

- Base URL: `https://cpaas.zoho.com/v1.1`
- URL: `https://cpaas.zoho.com/v1.1/mailagents/{mailagent-alias}/templates`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://accounts.zoho.com/oauth/v2/auth`
    - Token URL: `https://accounts.zoho.com/oauth/v2/token` scopes: `Zeptomail.MailTemplates.READ`
  - OAuth 2
    - Authorization code: `https://accounts.zoho.com/oauth/v2/auth`
    - Token URL: `https://accounts.zoho.com/oauth/v2/token` scopes: `Zeptomail.MailTemplates.ALL`

Retrieve a paginated list of email templates in your CPaaS account.

## Path parameters

- `mailagent-alias` string, required

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

List of email templates.

- object
  - `data` object[]
    - `created_time` string
    - `template_key` string
    - `template_name` string
    - `subject` string
    - `template_alias` string
  - `status` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/zoho/apis/zoho-cpaas.md) - [All operations](https://skmtc.dev/zoho/apis/zoho-cpaas/llms.txt) - [OpenAPI document](https://skmtc.dev/zoho/apis/zoho-cpaas/revisions/f0858a38e8b0?raw)
