Skip to main content
POST
/
api
/
v1
/
conversations
Create Conversation
curl --request POST \
  --url https://api.example.com/api/v1/conversations/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "<string>",
  "title": "<string>",
  "status": "active",
  "project_ids": [
    "<string>"
  ],
  "agent_ids": [
    "<string>"
  ]
}
'
{
  "message": "<string>",
  "conversation_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

hidden
boolean
default:false

Whether to hide this conversation from the web UI

Body

application/json
user_id
string
required
title
string
required
status
enum<string>
required
Available options:
active,
archived,
deleted
project_ids
string[]
required
agent_ids
string[]
required

Response

Successful Response

message
string
required
conversation_id
string
required