---
title: "Create a conversation"
method: POST
path: "/conversations"
tags: ["conversations"]
---

# Create a conversation

`POST /conversations`

## Request

- Base URL: `https://corebee.ai/api/v1`
- URL: `https://corebee.ai/api/v1/conversations`
- Auth: HTTP bearer

Creates a conversation. If contact_id is omitted, a contact is resolved or created from contact_email / contact_phone / contact_name.

## Request body

- ConversationCreate: Provide contact_id, or any of contact_email / contact_phone / contact_name to resolve or auto-create the contact.
  - `contact_id` string, uuid
  - `channel_id` string, uuid
  - `status` 0 | 1 | 2 | 3
  - `assignee_id` string, uuid
  - `priority` integer
  - `contact_email` string, email
  - `contact_phone` string
  - `contact_name` string

## Response `201`

Created

- object
  - `data` Conversation, required
    - `id` string, uuid
    - `org_id` string, uuid
    - `contact_id` string, uuid, nullable
    - `channel_id` string, uuid, nullable
    - `status` 0 | 1 | 2 | 3: 0=open, 1=resolved, 2=pending, 3=snoozed.
    - `assignee_id` string, uuid, nullable
    - `priority` integer, nullable
    - `last_activity_at` string, date-time, nullable
    - `created_at` string, date-time
    - `contacts` ContactSummary: Embedded contact summary on a conversation.
      - `id` string, uuid
      - `name` string, nullable
      - `email` string, nullable

## Other responses

- `400`: Validation error
- `401`: Invalid or missing credential

---

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