---
title: "Get Zalo templates"
method: GET
path: "/zalo/1/sender/{sender}/templates"
tags: ["channels", "zalo", "zalo-service-management", "zalo-template-management"]
---

# Get Zalo templates

`GET /zalo/1/sender/{sender}/templates`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/zalo/1/sender/{sender}/templates`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Returns all templates for a given sender filtered by status.

## Path parameters

- `sender` string, required: Sender ID.

## Query parameters

- `page` integer
- `size` integer
- `status` 'ALL' | 'ENABLED' | 'PENDING_REVIEW' | 'REJECTED' | 'DISABLED'

## Response `200`

OK

- 6a8bbdacebad88e7e0de8bdfd30e29e04d114b9f00175a0482b9e26b742d85d5PageTemplate
  - `results` 6a8bbdacebad88e7e0de8bdfd30e29e04d114b9f00175a0482b9e26b742d85d5Template[], required: The list of the results for this page.
    - `templateName` integer: Name identifying the template. Is the same as registered template_id.
    - `displayName` string: Human readable name of the template.
    - `status` string: Template status. Possible values: `PENDING_REVIEW`, `DISABLE`, `ENABLE`, `REJECT`.
    - `createdTime` string, date-time: Template creation date. Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
    - `templateContent` 6a8bbdacebad88e7e0de8bdfd30e29e04d114b9f00175a0482b9e26b742d85d5ZbsTemplateContent: Template content.
      - `type` 'AUTHENTICATION' | 'PAYMENT_REQUEST' | 'SERVICE_REVIEW' | 'VOUCHER' | 'CUSTOM', required
  - `paging` 6a8bbdacebad88e7e0de8bdfd30e29e04d114b9f00175a0482b9e26b742d85d5PageInfo, required: Contains information about the page.
    - `page` integer, required: Requested page number.
    - `size` integer, required: Requested page size.
    - `totalPages` integer, required: The total number of pages of the results matching the requested parameters.
    - `totalResults` integer, required: The total number of the results matching the requested parameters.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error
- `502`: Bad Gateway

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
