---
title: "Get templates from library"
method: GET
path: "/app/{appId}/template/metalibrary"
tags: ["Partner's Linked Application"]
---

# Get templates from library

`GET /app/{appId}/template/metalibrary`

## Path parameters

- `appId` string, required

## Query parameters

- `requestParams` MultiValueMapStringString, required
  - `all` object
  - `empty` boolean

## Response `200`

Success

- GetTemplatesLibrary
  - `status` string
  - `templates` Template[]
    - `id` string, uuid — Unique identifier for the template
    - `appId` string, uuid — Application ID associated with the template
    - `elementName` string — Name of the template
    - `languageCode` string — Language code of the template
    - `category` 'MARKETING' | 'UTILITY' | 'AUTHENTICATION' — Category of the template
    - `templateType` 'GIF' — Type of template
    - `vertical` string — Industry vertical or use case
    - `status` 'PENDING' | 'APPROVED' | 'REJECTED' — Approval status of the template
    - `state` 'ACTIVE' | 'INACTIVE' — Current state of the template
    - `quality` 'UNKNOWN' | 'HIGH' | 'MEDIUM' | 'LOW' — Quality rating of the template
    - `data` string — Content/body of the template
    - `namespace` string — WABA namespace
    - `wabaId` string — WhatsApp Business Account ID
    - `languagePolicy` string — Language policy setting
    - `parameterFormat` string — Format for parameters in the template
    - `priority` integer — Priority level of the template
    - `retry` integer — Retry count
    - `stage` string — Current stage of the template
    - `meta` string — Additional metadata in JSON string format
    - `containerMeta` string — Container metadata in JSON string format
    - `createdOn` integer — Creation timestamp in milliseconds
    - `modifiedOn` integer — Last modification timestamp in milliseconds

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - no permissions to access resource
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/gupshup/apis/partner-portal-public-apis.md) · [All operations](https://skmtc.net/gupshup/apis/partner-portal-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupshup/partner-portal-public-apis/revisions/1846573c8f87/schema)
