---
title: "GET /mailTemplate"
method: GET
path: "/mailTemplate"
tags: ["mailTemplate"]
---

# GET /mailTemplate

`GET /mailTemplate`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/mailTemplate`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/mailTemplate/get.ts> (a function with typed inputs; its response is checked against the schema)

query mailTemplate

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string

## Response `200`

mailTemplate response

- object
  - `result` MailTemplate[]
    - `id` string
    - `version` string
    - `bccEmailAddresses` string
    - `ccEmailAddresses` string
    - `createdDate` integer
    - `creatorId` string, required
    - `lastModifiedDate` integer
    - `name` string
    - `subject` string
    - `text` string
    - `toEmailAddresses` string
    - `type` 'EMAIL' | 'LETTER', required
    - `useAsDefault` boolean

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/mailTemplate/get.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
