---
title: "POST /api/channels"
method: POST
path: "/api/channels"
tags: ["channels"]
---

# POST /api/channels

`POST /api/channels`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/channels/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Api-Version` string

## Request body

- CreateChannelCommand
  - `appId` string, uuid, required
  - `name` string, required
  - `revisionSelectionStrategy` 'UseRangeRule' | 'UseSpecifiedRevision', required
  - `rangeRule` string, nullable
  - `activeRevisionId` string, uuid, nullable

## Response `200`

Success

- string, uuid

## Changes

- **2023-03-10** `4650ad92794e`: 1 breaking, 1 info
  - request body became required
  - added the new optional `header` request parameter `Api-Version`
- **2022-10-03** `8543bec11b34`: 8 warning
  - removed the request property `certificateId` (media type: application/json-patch+json)
  - removed the request property `certificateId` (media type: application/json)
  - removed the request property `certificateId` (media type: text/json)
  - removed the request property `certificateId` (media type: application/*+json)
  - …4 more

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/channels/post.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
