---
title: "Get Viber templates"
method: GET
path: "/viber/1/senders/{sender}/templates"
tags: ["channels", "viber", "viber-business-messages", "viber-template-management"]
---

# Get Viber templates

`GET /viber/1/senders/{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/viber/1/senders/{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

Retrieve Viber templates available for specific sender.

## Path parameters

- `sender` string, required: Sender id.

## Query parameters

- `page` integer
- `size` integer
- `orderBy` string

## Response `200`

OK

- F6fe07754dbab8be58eaa18cf7a5d306bd0a320e1642529931d05084863a1fb3GetViberTemplatesResponse: List of templates per page.
  - `templates` F6fe07754dbab8be58eaa18cf7a5d306bd0a320e1642529931d05084863a1fb3ViberTemplateResponseNoDates[], required: List of templates for requested page.
    - `templateId` string: Unique identifier of the template.
    - `name` string: Human-readable name of the template. Must be unique per sender.
    - `version` string: Template version number.
    - `sender` string: Sender for which the template is registered.
    - `category` 'OTP' | 'TRANSACTIONAL': Business category of the template, used for classification and approval routing.
    - `status` 'PENDING' | 'APPROVED' | 'DECLINED': Current approval status of the template in the review process.
    - `params` F6fe07754dbab8be58eaa18cf7a5d306bd0a320e1642529931d05084863a1fb3TemplateParam[]: List of variable parameters defined in the template.
      - `type` 'TEXT', required: Type of template parameter.
      - `name` string, required: Name or identifier of the parameter, used to reference it in the template. Must have the same name as the placeholder in the template content.
      - `example` string, required: Example value for the parameter, used for template preview and validation.
    - `body` F6fe07754dbab8be58eaa18cf7a5d306bd0a320e1642529931d05084863a1fb3TemplateBody[]: List of template bodies per language containing the actual message text.
      - `language` 'ar' | 'hy' | 'be' | 'bs' | 'bg' | 'my' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'fi' | 'fr' | 'ka' | 'de' | 'el' | 'he' | 'hu' | 'id' | 'it' | 'ja' | 'ne' | 'no' | 'fa' | 'pl' | 'ro' | 'ru' | 'sr' | 'sk' | 'sl' | 'es' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh-Hans' | 'zh-Hant' | 'pt_BR' | 'pt_PT' | 'fr_FR' | 'es_ES', required: Language code for the template body.
      - `template` string, required: Template message text with optional placeholders for variables (e.g., {{1}}, {{2}}). Maximum 1000 characters. Last word in the template text cannot be a placeholder.
  - `paging` F6fe07754dbab8be58eaa18cf7a5d306bd0a320e1642529931d05084863a1fb3Paging: 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

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[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)
