Get IM chat messages
GET {{baseUrl}}/im/chat/sessions/:sessionId?from=<date>&to=<date>&page_size=30&next_page_token=<string>
Retrieves IM chat messages for a specified period of time. This API only supports oauth2.
Scopes:
imchat:read
Rate Limit Label
:
Medium
Deprecated: By end of 2021, Zoom is deprecating this API in favor of a consolidated set of APIs. The API will still be available for you to use, though Zoom will no longer provide support for it. For further information, see Announcements: IM APIs Deprecation .
Request Params
| Key | Datatype | Required | Description |
| from
| string | | (Required) The start date in 'yyyy-mm-dd' format. The date range defined by the "from" and "to" parameters should only be one month as the report includes only one month worth of data at once. |
| to
| string | | (Required) The end date. |
| page_size
| number | | The number of records returned within a single API call. |
| next_page_token
| string | | The next page token paginates through a large set of results. A next page token is returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes. |
HEADERS
| Key | Datatype | Required | Description |
| Accept
| string | | |
RESPONSES
status: OK
{"from":"\u003cdate\u003e","session_id":"\u003cstring\u003e","to":"\u003cdate\u003e","next_page_token":"\u003cstring\u003e","page_size":30,"messages":[{"action":"unread","action_time":"\u003cdateTime\u003e","date_time":"\u003cdateTime\u003e","message":"\u003cstring\u003e","sender":"\u003cstring\u003e"},{"action":"read","action_time":"\u003cdateTime\u003e","date_time":"\u003cdateTime\u003e","message":"\u003cstring\u003e","sender":"\u003cstring\u003e"}]}