Get message history for a thread.
GET {{baseUrl}}/conversations/v3/conversations/threads/:threadId/messages?after=<string>&limit=<integer>&sort=<string>&sort=<string>&archived=<boolean>&property=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
after | string | The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results. | |
limit | string | The maximum number of results to display per page. | |
sort | string | Sort direction. Valid options are createdAt (ascending), and -createdAt (descending, default) | |
sort | string | Sort direction. Valid options are createdAt (ascending), and -createdAt (descending, default) | |
archived | string | Whether to return only results that have been archived. | |
property | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"results":[{"value":"\u003cCircular reference to #/components/schemas/PublicConversationsMessage detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/PublicConversationsMessage detected\u003e"}],"paging":{"next":{"after":"\u003cstring\u003e","link":"\u003cstring\u003e"}}}