---
title: "Publish a journey-scoped notification template"
method: POST
path: "/journeys/{templateId}/templates/{notificationId}/publish"
tags: ["Journeys"]
---

# Publish a journey-scoped notification template

`POST /journeys/{templateId}/templates/{notificationId}/publish`

Publishes a journey-scoped template's draft as a new version. Pass a version instead to roll back the template to an earlier publish.

## Path parameters

- `templateId` string, required
- `notificationId` string, required

## Headers

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

## Request body

- JourneyTemplatePublishRequest — Request body for publishing a journey-scoped notification template. Pass `version` to roll back to a prior version; omit to publish the current draft.
  - `version` string

## Response `204`

Published notification template

## Other responses

- `400` — Bad request
- `404` — Not found
- `422` — Unprocessable entity

---

[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/cb8586034158/schema)
