Skip to main content
POST
/
v2
/
studio
/
messages
Create Message
curl --request POST \
  --url http://localhost:3000/api/v2/studio/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "<string>",
  "chatSessionId": "<string>",
  "role": "user"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Body

application/json
content
string
required
chatSessionId
string
required
role
enum<string>
required
Available options:
user,
assistant

Response

Message created successfully

I