---
title: "Get list of template messages"
method: GET
path: "/chats/templates"
---

# Get list of template messages

`GET /chats/templates`

Returns a paginated list of template messages. Optionally filter by folder name using case-insensitive partial matching.

## Query parameters

- `page` integer — Page number to retrieve (starts from 1)
- `size` integer — Number of items to return per page (1-50, default: 15)
- `folderName` string — Filter by folder name (case-insensitive partial match)

## Headers

- `X-Fanvue-API-Version` string, required

## Response `200`

List of template messages

- object
  - `data` object[], required — Array of template messages
    - `uuid` string, uuid, required — Template message UUID
    - `name` string, nullable, required — Template name as given on create, or null when the template is unnamed
    - `text` string, nullable, required — Message text content
    - `price` number, nullable, required — Message price in cents (null for free messages)
    - `mediaUuids` string[], required — Array of media UUIDs attached to the message
    - `mediaPreviewUuid` string, uuid, nullable, required — Media UUID used as the paywall preview (null when the template has none)
    - `folderUuid` string, uuid, nullable, required — UUID of the folder containing this template
    - `folderName` string, nullable, required — Name of the folder containing this template
  - `pagination` object, required — Pagination information
    - `page` number, required — Current page number
    - `size` number, required — Number of records returned in this response
    - `hasMore` boolean, required — Whether there are more items available on subsequent pages

## Other responses

- `400` — Bad Request - API version not supported OR validation failed
- `401` — Unauthorized Response
- `403` — Unauthorized Response
- `404` — Not Found Response
- `410` — API version no longer supported (sunset)
- `429` — Too many requests - rate limit exceeded

---

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