---
title: "Download a CSV template for a manual sending preset"
method: GET
path: "/api/v1.0/presets/{id}/template"
tags: ["Manual Sending Presets"]
---

# Download a CSV template for a manual sending preset

`GET /api/v1.0/presets/{id}/template`

Returns a CSV containing only a header row with every column accepted by the
matching `POST .../send` endpoint, given the preset's contentable and the
organization's configured metafields.

- **Survey preset** — always `email,phone`; adds `patient_id` when the survey
  has patient tracking enabled; adds `language` when the survey is configured
  for more than one language across its email / SMS messages; appends one
  column per available org-level metafield.
- **Communication preset** — single `phone` column.

The response is a CSV (`Content-Type: text/csv`) with a
`Content-Disposition: attachment; filename="<preset>-template.csv"` header.

## Path parameters

- `id` integer, required

## Response `200`

CSV template

## Other responses

- `401` — Unauthorized — missing or invalid api-key
- `403` — Forbidden — api-key is missing the send_manual scope
- `404` — Preset not found

---

[API](https://skmtc.dev/lime/apis/api-v1.md) · [All operations](https://skmtc.dev/lime/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lime/api-v1/revisions/0527672f15cb/schema)
