---
title: "POST /v2/agent/{agentId}/create-channel"
method: POST
path: "/v2/agent/{agentId}/create-channel"
---

# POST /v2/agent/{agentId}/create-channel

`POST /v2/agent/{agentId}/create-channel`

Cria um novo canal para o agente

## Path parameters

- `agentId` string, required

## Request body

- object
  - `name` string, required — Nome do canal
  - `type` 'WHATSAPP' | 'INSTAGRAM' | 'CLOUD_API' | 'TELEGRAM' | 'WIDGET' | 'MESSENGER' | 'MERCADO_LIVRE', required — Tipo do canal

## Response `200`

Canal criado com sucesso

- object
  - `id` string — ID do canal
  - `name` string — Nome do canal
  - `type` 'WHATSAPP' | 'INSTAGRAM' | 'CLOUD_API' | 'TELEGRAM' | 'WIDGET' | 'MESSENGER' | 'MERCADO_LIVRE' — Tipo do canal

## Other responses

- `400` — Erro inesperado
- `403` — Erro de token

---

[API](https://skmtc.net/gptmaker/apis/openapi-gpt-maker.md) · [All operations](https://skmtc.net/gptmaker/apis/openapi-gpt-maker/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gptmaker/openapi-gpt-maker/versions/bda09b3eba6e/schema)
