Skip to main content
GET
/
events
/
chat
Retrieve chat events
curl --request GET \
  --url http://sandbox.mintlify.com/events/chat \
  --header 'Authorization: Bearer <token>'
[
  {
    "sessionId": "<string>",
    "userId": "<string>",
    "messageType": "text",
    "timestamp": "2023-11-07T05:31:56Z",
    "content": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

customerId
string

Filter by customer ID

Response

200 - application/json

List of chat events

sessionId
string
required

Unique identifier for the chat session

userId
string
required

ID of the user in the chat

messageType
enum<string>
required

Type of chat message

Available options:
text,
file,
system
timestamp
string<date-time>
required

When the message was sent

content
string

Content of the message