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

# Communication Templates

> Manage email/SMS/omni-channel templates used by notification workflows.

## Endpoints

| Method | Path                      | Description                                                           |
| ------ | ------------------------- | --------------------------------------------------------------------- |
| GET    | `/v1/comms/templates`     | List communication templates for the workspace with optional filters. |
| POST   | `/v1/comms/templates`     | Create a template (name, key, channel, purpose, status).              |
| GET    | `/v1/comms/templates/:id` | Retrieve template metadata by ID.                                     |
| PATCH  | `/v1/comms/templates/:id` | Update template name or status.                                       |
| DELETE | `/v1/comms/templates/:id` | Delete a template (requires `comms:delete`).                          |

<Info>
  Workspace-scoped API keys are required. Read routes need `comms:read`; create/update routes require `comms:write`; deletion requires `comms:delete`.
</Info>

## Key concepts

* Templates are metadata records (name, key, channel, purpose, status) used by downstream email/SMS delivery services. Versioned content (subject/body, WYSIWYG JSON) is handled separately.
* `channel` identifies the delivery medium (`email`, `sms`, `whatsapp`, `push_notification`, etc.).
* `purpose` differentiates transactional vs marketing messages; defaults to `transactional` on create.
* `status` controls availability (`draft`, `active`, `inactive`, `archived`).
* Webhooks fire on create/update/delete events (`notification.template.*`) so integrators can sync changes.
