cURL
curl --request GET \ --url http://localhost:3000/api/messaging/sessions/{sessionId}/messages
{ "messages": [ { "id": "<string>", "content": "<string>", "authorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "isAgent": true, "createdAt": "2023-11-07T05:31:56Z", "metadata": {} } ], "hasMore": true }
Retrieve messages from a conversation session
ID of the session
Maximum number of messages to return
1 <= x <= 100
Get messages before this timestamp
Get messages after this timestamp
Messages retrieved successfully
The response is of type object.
object
Was this page helpful?