---
title: "Create channel"
method: POST
path: "/v2/chats"
tags: ["Chat"]
---

# Create channel

`POST /v2/chats`

## Request

- Base URL: `https://api.sandbox.eu.bandyer.com`
- URL: `https://api.sandbox.eu.bandyer.com/v2/chats`
- Auth: API key in header `apikey`

Create a chat channel between two users.

## Request body

- object
  - `participants` string[], required

## Response `201`

Created Channel

- object
  - `id` string: Channel id.
  - `participants` string[]

## Other responses

- `401`: Unauthorized
- `422`: Unprocessable Content
- `429`: Too Many request

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/revisions/4424fd54ae42?raw)
