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

# Criar canal

`POST /api/management/channels`

Cria um novo canal em um projeto. O canal nasce restrito à equipe (audiência interna) por padrão; defina `audience` como `client` para um canal visível ao cliente. Um `connector_type` opcional liga o canal a um conector externo.

## Request body

- object
  - `name` string — Teste do schema para criar canal

## Response `201`

Sucesso

- object
  - `response` boolean
  - `channel` object
    - `id` string
    - `name` string
    - `audience` string
    - `connector_type` string
    - `external_ref` string
    - `is_active` boolean
    - `project_id` string
    - `frame_id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `422` — Erro de validação

## Changes

- **2026-06-19** `80401b7927a1` — 1 info
  - added the new optional request property `name`
- **2026-06-19** `e4f34a03dcf6` — 7 warning
  - removed the request property `audience`
  - removed the request property `connector_config`
  - removed the request property `connector_type`
  - removed the request property `external_ref`
  - …3 more
- **2026-06-19** `aaa4fc3a24bc` — 4 breaking
  - the request property `external_ref` became not nullable
  - the request property `project_id` became not nullable
  - the `external_ref` request property type changed from no type to `string`
  - the `project_id` request property type changed from no type to `string`
- **2026-06-19** `75d3a0aa1652` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/channels/post.md)

---

[API](https://skmtc.dev/olie-ai/apis/olie-api.md) · [All operations](https://skmtc.dev/olie-ai/apis/olie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/olie-ai/olie-api/revisions/8c9bac94e5ad/schema)
