---
title: "Open a conversation toward a known contact"
method: POST
path: "/conversations"
tags: ["Conversations"]
---

# Open a conversation toward a known contact

`POST /conversations`

## Request

- Base URL: `https://muro.chat/api/v1`
- URL: `https://muro.chat/api/v1/conversations`
- Auth: HTTP bearer

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `visitor_id` string, required
  - `content` string: Optional opening line.

## Response `201`

Created. Carries a Location header.

- object
  - `object` 'conversation'
  - `id` string
  - `status` 'open' | 'closed' | 'snoozed'
  - `tags` string[]
  - `unread_count` integer
  - `website_id` string
  - `assigned_user_id` string, nullable
  - `visitor` object
    - `id` string
    - `name` string, nullable
    - `email` string, nullable
  - `last_message` object, nullable
  - `metadata` object
  - `summary` string, nullable: AI recap (auto-generated on close).
  - `summary_at` string, date-time, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `opening_message_id` string: Id of the opening message, when `content` was supplied.

## Other responses

- `400`: Invalid body.
- `403`: Key lacks the write scope.
- `404`: No such contact.
- `409`: Idempotency-Key reused with a different body.
- `415`: Content-Type must be application/json.

---

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