---
title: "GET /messages/channels/{channelId}/templates"
method: GET
path: "/messages/channels/{channelId}/templates"
tags: ["Template"]
---

# GET /messages/channels/{channelId}/templates

`GET /messages/channels/{channelId}/templates`

List all templates for given Azure Communication Services channel

## Path parameters

- `channelId` string, uuid, required

## Query parameters

- `api-version` string, required
- `maxPageSize` integer

## Headers

- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- PagedMessageTemplateItem — Paged collection of MessageTemplateItem items
  - `value` MessageTemplateItem[], required — The MessageTemplateItem items on this page
    - `name` string, required — The template's name.
    - `language` string, required — The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'.
    - `status` 'approved' | 'rejected' | 'pending' | 'paused', required — The aggregated template status.
    - `kind` 'whatsApp', required — The type of the communication messages channel.
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/communication-messages.md) · [All operations](https://skmtc.net/azure/apis/communication-messages/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/communication-messages/revisions/ec11c913a0e6/schema)
