---
title: "Applicable Templates"
method: POST
path: "/v1/matters/{matter_id}/precedents/templates/search"
tags: ["precedents"]
---

# Applicable Templates

`POST /v1/matters/{matter_id}/precedents/templates/search`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/matters/{matter_id}/precedents/templates/search`
- Auth: HTTP bearer

## Path parameters

- `matter_id` string, uuid, required

## Request body

- TemplateSearch
  - `offset` integer
  - `q` string

## Response `200`

Successful Response

- TemplateChoicePage
  - `items` TemplateChoice[], required
    - `id` string, uuid, required
    - `name` string, required
    - `code` string, nullable, required
  - `next_offset` integer, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
