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

{&quot;from&quot;:&quot;\u003cdate\u003e&quot;,&quot;session_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;to&quot;:&quot;\u003cdate\u003e&quot;,&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_size&quot;:30,&quot;messages&quot;:[{&quot;action&quot;:&quot;unread&quot;,&quot;action_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;date_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;sender&quot;:&quot;\u003cstring\u003e&quot;},{&quot;action&quot;:&quot;read&quot;,&quot;action_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;date_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;sender&quot;:&quot;\u003cstring\u003e&quot;}]}