Conversations
Post conversation messages
send a message in a conversation
POST
Path Parameters
The id value of the conversation you want to send a message to.
Body
application/json
new message info
Request payload for sending a new message. The payload includes the messageType, createdAt date, and a messageData field whose structure depends on the messageType.
OneOf-based union for new message data, distinguished by messageType
.
Response
200
application/json
message object
The message object returned from the API (or retrieved from the database) with a discriminator to determine the concrete type.
The base message object that contains common properties for all message types.