---
title: "Create or update a channel configuration."
method: POST
path: "/channel/"
tags: ["channels"]
---

# Create or update a channel configuration.

`POST /channel/`

## Request

- Base URL: `https://api.capgo.app`
- URL: `https://api.capgo.app/channel/`
- Auth: API key in header `x-api-key`

Create or update a channel configuration: default bundle, public/private access, disable auto-update, and rollout policy.

## Request body

- ChannelSet
  - `app_id` string, required
  - `channel` string, required
  - `version` string
  - `public` boolean
  - `disableAutoUpdateUnderNative` boolean
  - `disableAutoUpdate` 'major' | 'minor' | 'version_number' | 'none'
  - `ios` boolean
  - `android` boolean
  - `electron` boolean
  - `allow_device_self_set` boolean
  - `allow_emulator` boolean
  - `allow_dev` boolean

## Response `200`

Channel accepted.

- StatusResponse
  - `status` string, required

## Other responses

- `400`: The request body or query parameters were invalid.
- `401`: The API key is missing, invalid, or expired.
- `403`: The API key is valid but lacks the required scope or org access.
- `429`: Too many requests. Back off and retry later.
- `500`: Unexpected Capgo server error.

---

[API](https://skmtc.dev/capgo/apis/capgo-public-api.md) · [All operations](https://skmtc.dev/capgo/apis/capgo-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/capgo/apis/capgo-public-api/revisions/8496acb7a95b?raw)
