Conversations
Get Messages
Retrieves the last ‘N’ messages from a conversation, along with some conversation metadata.
GET
/
conversation
/
{conversationId}
/
messages
/
{count}
Example JS Code to Get Messages from a Conversation
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
conversationId
string
requiredID of the conversation from which the messages will be retrieved.
count
integer
default: 2requiredNumber of most recent messages to be retrieved. If not specified, the default is 2.
Response
200 - application/json
status
string
isAiEnabled
boolean
userId
string
organizationId
string
messages
object[]
Was this page helpful?