Skip to main content
POST
/
v1
/
chats
Create Chat
curl --request POST \
  --url https://api.example.com/v1/chats \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "chatbotId": "<string>",
  "userId": "<string>"
}
'
{
  "id": "<string>",
  "chatbotId": "<string>",
  "userId": "<string>",
  "organizationId": "<string>",
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
chatbotId
string
required
userId
string

Response

201 - application/json
id
string
required
chatbotId
string
required
userId
string
required
organizationId
string
required
createdAt
string
required