> ## Documentation Index
> Fetch the complete documentation index at: https://docs.foxreach.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Template

> Retrieve a single template by ID.

## Path Parameters

<ParamField path="template_id" type="string" required>
  The unique identifier of the template.
</ParamField>

## Response

<ResponseField name="data" type="object">
  The template object. See [List Templates](/api-reference/templates/list-templates) for the full schema.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.foxreach.io/api/v1/templates/ctm_abc123" \
    -H "X-API-Key: otr_your_key"
  ```

  ```python Python SDK theme={null}
  from foxreach import FoxReach

  client = FoxReach(api_key="otr_your_key")
  template = client.templates.get("tpl_abc123")
  ```

  ```typescript TypeScript SDK theme={null}
  import { FoxReach } from "foxreach";

  const client = new FoxReach({ apiKey: "otr_your_key" });
  const template = await client.templates.get("tpl_abc123");
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": {
      "id": "ctm_abc123",
      "name": "Cold Intro - SaaS",
      "subject": "Quick question about {{company}}",
      "body": "Hi {{firstName}},\n\nI noticed that {{company}} is...",
      "category": "email",
      "createdAt": "2025-01-10T08:00:00",
      "updatedAt": "2025-01-10T08:00:00"
    }
  }
  ```
</ResponseExample>

## Errors

| Status | Description        |
| ------ | ------------------ |
| `404`  | Template not found |

## Rate Limit

* **100 requests per minute, per API key.** Fixed 60-second window.
* Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` (unix epoch seconds).
* A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](/rate-limiting).
