Skip to main content
POST
Create Message

Authorizations

Authorization
string
header
required

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

Body

application/json
location_id
string
required

Location ID

content
string
required

Message content

ai
boolean
required

Whether the message is from AI

role
enum<string>
required

Role of the message sender

Available options:
user,
assistant
conversation_id
string
required

ID of the conversation

message_id
string
required

ID of the message

channel
string
required

Communication channel

Response

201 - application/json

Message created successfully

status
integer
data
object