---
title: "Create Conversations"
method: POST
path: "/api/v1/widget/conversations"
tags: ["Widget::Conversations"]
---

# Create Conversations

`POST /api/v1/widget/conversations`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/widget/conversations`
- Auth: none required

## Request body

- object
  - `id` string
  - `typing_status` string
  - `website_token` string
  - `email` string
  - `custom_attributes` object
  - `contact` object[], required
    - `name` string
    - `email` string
    - `phone_number` string
  - `message` object[]
    - `content` string
    - `referer_url` string
    - `timestamp` string
    - `echo_id` string

## Response `200`

Success

- object
  - `id` string
  - `inbox_id` integer
  - `contact_last_seen_at` string, date-time
  - `status` integer
  - `messages` object[]
  - `content` string
  - `message_type` string
  - `content_type` string
  - `content_attributes` string
  - `created_at` string, date-time
  - `conversation_id` string
  - `attachments` string
  - `sender` string
  - `custom_attributes` object
  - `contact` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/cloudhumans/apis/cloudchat-api.md) - [All operations](https://skmtc.dev/cloudhumans/apis/cloudchat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudhumans/apis/cloudchat-api/revisions/18199bd17cc5?raw)
