Publish Message
PublishMessage sends a message to an active session.
Use this method for a user to contribute a message to the session.
Request: PublishMessageRequest (specify session name, username, and message) Response: PublishMessageResponse (acknowledgement of published message)
HTTP: POST /v1/conversation/sessions/{name}/messages
Path parameters
session
The session id.
Request
This endpoint expects an object.
name
name of the user publishing the message.
session
Session is the session object to join.
message
Message is the message to be published in the session.
Response
OK
acknowledgment
Acknowledgment is the acknowledgment message for the published message.
message
Message is the original message that was published.
Errors
400
Bad Request Error