Get IM chat sessions

GET {{baseUrl}}/im/chat/sessions?from=<date>&to=<date>&page_size=30&next_page_token=<string>

Retrieves IM Chat sessions for a specified period of time. This API only supports Oauth2.

Scopes: imchat:read, imchat:read:admin
Rate Limit Label: Heavy

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

KeyDatatypeRequiredDescription
fromstring(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.
tostring(Required) The end date.
page_sizenumberThe number of records returned within a single API call.
next_page_tokenstringThe 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;from&quot;:&quot;\u003cdate\u003e&quot;,&quot;to&quot;:&quot;\u003cdate\u003e&quot;,&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_size&quot;:30,&quot;sessions&quot;:[{&quot;last_message_sent_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;session_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;1:1&quot;},{&quot;last_message_sent_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;session_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;Group&quot;}]}