POST
/
assistant
/
{botstackId}
/
message
curl --request POST \
  --url https://chat.botstacks.ai/assistant/{botstackId}/message \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>",
  "userId": "<string>"
}'

Path Parameters

botstackId
string
required

UUID of the botstack assistant

Body

application/json
Hey so...
message
string
required

The message to send to the assistant

userId
string

The current user ID. This is used to maintain a the chat conversation. If not provided, it is treated as a new conversation.

Response

200
_mintlify/placeholder

Successful response