---
title: "Start a chat conversation with a creator"
method: POST
path: "/chat/threads"
tags: ["Chat"]
---

# Start a chat conversation with a creator

`POST /chat/threads`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/chat/threads`
- Auth: API key in header `x-api-key`

Gets or creates the single conversation between the active organization and a managed creator. A creator who has not been invited to viral.app yet is refused with 409 CREATOR_NOT_INVITED: invite them first (POST /creators/{id}/invite).

## Request body

- object
  - `creatorUserId` string: The creator's user id (`creatorUserId` on a creator).
  - `orgCreatorId` string: The creator's id in the organization (`id` on a creator).

## Response `200`

OK

- object
  - `chatId` string, required
  - `hasMessages` boolean, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `409`: 409
- `429`: 429
- `500`: 500

---

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