curl -X GET "https://api.foxreach.io/api/v1/templates/ctm_abc123" \
-H "X-API-Key: otr_your_key"
from foxreach import FoxReach
client = FoxReach(api_key="otr_your_key")
template = client.templates.get("tpl_abc123")
import { FoxReach } from "foxreach";
const client = new FoxReach({ apiKey: "otr_your_key" });
const template = await client.templates.get("tpl_abc123");
{
"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"
}
}
Templates
Get Template
Retrieve a single template by ID.
GET
/
api
/
v1
/
templates
/
{template_id}
curl -X GET "https://api.foxreach.io/api/v1/templates/ctm_abc123" \
-H "X-API-Key: otr_your_key"
from foxreach import FoxReach
client = FoxReach(api_key="otr_your_key")
template = client.templates.get("tpl_abc123")
import { FoxReach } from "foxreach";
const client = new FoxReach({ apiKey: "otr_your_key" });
const template = await client.templates.get("tpl_abc123");
{
"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"
}
}
Path Parameters
string
required
The unique identifier of the template.
Response
object
The template object. See List Templates for the full schema.
curl -X GET "https://api.foxreach.io/api/v1/templates/ctm_abc123" \
-H "X-API-Key: otr_your_key"
from foxreach import FoxReach
client = FoxReach(api_key="otr_your_key")
template = client.templates.get("tpl_abc123")
import { FoxReach } from "foxreach";
const client = new FoxReach({ apiKey: "otr_your_key" });
const template = await client.templates.get("tpl_abc123");
{
"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"
}
}
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, andX-RateLimit-Reset(unix epoch seconds). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.