---
title: "Publish Notification Template"
method: POST
path: "/notifications/{id}/publish"
tags: ["Templates"]
---

# Publish Notification Template

`POST /notifications/{id}/publish`

Publish a notification template. Publishes the current draft by default. Pass a version in the request body to publish a specific historical version.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string
- `x-idempotency-expiration` string

## Request body

- NotificationTemplatePublishRequest — Optional request body for publishing a notification template. Omit or send an empty object to publish the current draft.
  - `version` string — Historical version to publish (e.g. "v001"). Omit to publish the current draft.

## Response `204`

Successfully published, or already published with no changes (idempotent).

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/trycourier/apis/courier.md) · [All operations](https://skmtc.net/trycourier/apis/courier/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycourier/courier/versions/04f69fbf96a5/schema)
