---
title: "Effective OTP texts of a project for every locale"
method: GET
path: "/api/v1/projects/{projectId}/templates"
tags: ["Templates"]
---

# Effective OTP texts of a project for every locale

`GET /api/v1/projects/{projectId}/templates`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/projects/{projectId}/templates`
- Auth: HTTP bearer

## Path parameters

- `projectId` integer, required

## Response `200`

OK

- ListOutputBody
  - `items` TemplateBody[], nullable, required
    - `locale` string, required
    - `source` 'default' | 'custom', required
    - `variants` string[], nullable, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
