---
title: "Search workspace template library"
method: GET
path: "/whatsapp/templates/all"
tags: ["WhatsApp Templates"]
---

# Search workspace template library

`GET /whatsapp/templates/all`

## Request

- Base URL: `https://api.spurnow.com`
- URL: `https://api.spurnow.com/whatsapp/templates/all`
- Auth: HTTP bearer

Returns workspace WhatsApp templates with optional query, status, category, channel, and cursor filters.

## Query parameters

- `query` string
- `cursor` string
- `limit` string
- `status` string
- `channelId` string
- `category` string
- `groupsCompatible` boolean
- `callPermission` boolean

## Response `200`

- MessageTemplateResponse
  - `templates` MessageTemplateEntity[], required
    - `name` string, required
    - `templateId` string, nullable, required
    - `components` object, required
    - `category` 'MARKETING' | 'UTILITY' | 'AUTHENTICATION', required
    - `subCategory` 'CUSTOM' | 'LTO' | 'CATALOG' | 'MPM' | 'PRODUCT_CAROUSEL', nullable, required
    - `status` 'APPROVED' | 'REJECTED' | 'PENDING' | 'DRAFT' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL', required
    - `format` 'SINGLE' | 'CAROUSEL', required
    - `language` string, required
    - `rejectedReason` string, nullable, required
    - `qualityScore` MessageTemplateQualityScore, required
      - `score` 'GREEN' | 'YELLOW' | 'RED' | 'UNKNOWN', required
    - `lastUpdatedTime` string, date-time, nullable, required
    - `workspaceId` number, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `channelId` number, nullable, required
    - `id` number, required

## Other responses

- `400`: Invalid query params (cursor/limit/channelId must be numeric).

---

[API](https://skmtc.dev/spurnow/apis/spur-apis.md) - [All operations](https://skmtc.dev/spurnow/apis/spur-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/spurnow/apis/spur-apis/revisions/27ca7bf002cb?raw)
