Skip to main content
POST
/
v2
/
chat-sessions
Create Chat Session
curl --request POST \
  --url http://localhost:3000/api/v2/chat-sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "folderId": "<string>",
  "isShared": true,
  "studioId": "<string>",
  "workspaceId": "<string>"
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string
required
folderId
string
required
isShared
boolean
required
studioId
string
required
workspaceId
string
required

Response

Chat session created successfully

id
string
required
I