---
title: "Create or start a chat"
method: POST
path: "/v1/chats"
tags: ["Chats"]
---

# Create or start a chat

`POST /v1/chats`

Create a single/group chat (mode='create') or start a direct chat from merged user data (mode='start').

## Request body

- CreateChatInput
  - `accountID` string, required — Account to create or start the chat on.
  - `mode` 'create' | 'start' — Operation mode. Defaults to 'create' when omitted.
  - `type` 'single' | 'group' — Required when mode='create'. 'single' requires exactly one participantID; 'group' supports multiple participants and optional title.
  - `participantIDs` string[] — Required when mode='create'. User IDs to include in the new chat.
  - `title` string — Optional title for group chats when mode='create'; ignored for single chats on most platforms.
  - `user` object — Required when mode='start'. Merged user-like contact payload used to resolve the best identifier.
    - `id` string — Known user ID when available.
    - `username` string — Username/handle candidate.
    - `phoneNumber` string — Phone number candidate (E.164 preferred).
    - `email` string — Email candidate.
    - `fullName` string — Display name hint used for ranking only.
  - `messageText` string — Optional first message content if the platform requires it to create the chat.
  - `allowInvite` boolean — Whether invite-based DM creation is allowed when required by the platform. Used for mode='start'.

## Response `200`

Request executed successfully

- CreateChatOutput
  - `chatID` string, required — Newly created chat ID.
  - `status` 'existing' | 'created' — Only returned in start mode. 'existing' means an existing chat was reused; 'created' means a new chat was created.

## Other responses

- `400` — Invalid request parameters
- `401` — Access token is missing or invalid
- `403` — Access token does not have the required scope
- `404` — Resource not found
- `422` — Unprocessable entity - validation error
- `429` — Too many requests - rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.net/beeper/apis/beeper-desktop-api.md) · [All operations](https://skmtc.net/beeper/apis/beeper-desktop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beeper/beeper-desktop-api/revisions/5a8ac7b545c4/schema)
