Sessions
Retrieve Messages
Get all messages associated to the path sessionId
GET
/
{resourceSlug}
/
session
/
{sessionId}
/
messages.json?messageId=
{messageId}
Path Parameters
resourceSlug
string
requiredThe resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId
sessionId
string
requiredThe sessionId of the session to retrieve
Query Parameters
messageId
string
Optional query parameter to declare a messageId to get messages generated after. i.e. get all messages generated after message: {messageId}. This is useful when attempting to gather messages in a stream.
Response
200 - messages.json
messages
object[]