---
title: "Get a text template by ID"
method: GET
path: "/text_templates/{text_template_id}"
tags: ["Text templates"]
---

# Get a text template by ID

`GET /text_templates/{text_template_id}`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/text_templates/{text_template_id}`
- Auth: HTTP bearer

Get all custom contents

## Path parameters

- `text_template_id` string, required

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- TextTemplateResponse
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `document_type` 'quote' | 'invoice' | 'credit_note' | 'discount_reminder' | 'final_reminder' | 'payables_purchase_order' | 'overdue_reminder', required
  - `is_default` boolean, required
  - `name` string, required
  - `template` string, required
  - `type` 'email_header' | 'email_body' | 'memo', required

## Other responses

- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
