---
title: "Find all message templates."
method: GET
path: "/message-templates"
tags: ["Message templates"]
---

# Find all message templates.

`GET /message-templates`

Find the message templates of a project that are visible to the calling agent (public templates plus
templates shared with them), ordered by `lexorank`.

## Query parameters

- `limit` number, double
- `skip` number, double
- `searchTerm` string
- `visibility` string
- `withCount` boolean
- `forUsage` boolean
- `ticketType` string
- `tag` string

## Headers

- `project` string, required

## Response `200`

Ok

- union
  - unknown[]
    - unknown
  - object
    - `totalCount` number, double, required
    - `data` unknown[], required
      - unknown

## Changes

> 20 revisions in range; 13 could not be searched.

- **2026-08-04** `9e2491ede559` — 3 info
  - added the new optional `query` request parameter `forUsage`
  - added the new optional `query` request parameter `tag`
  - added the new optional `query` request parameter `ticketType`
- **2026-07-27** `9a01f65f3445` — 2 info
  - added `subschema #1, subschema #2` to the response body `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `anyOf` list for the response status `200`

[Change history](https://skmtc.dev/gleap/apis/gleap-server/changes/message-templates/get.md)

---

[API](https://skmtc.dev/gleap/apis/gleap-server.md) · [All operations](https://skmtc.dev/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/05e5eb4c2da1/schema)
