# ImChatSessionsBySessionId
Retrieve IM Chat messages
Retrieve IM Chat messages for a specified period <aside>This API only supports oauth2.</aside>
- Catalog: `Zoom`
- Schema: `IMChat`
- Select Zoom API URL: `/im/chat/sessions/{sessionId}`
- Insert Zoom API URL: `/im/chat/sessions/{sessionId}`
- Update Zoom API URL: `/im/chat/sessions/{sessionId}`
- Delete Zoom API URL: `/im/chat/sessions/{sessionId}`
- Field Selection Method: NotRequired
- Select Zoom API Operation: `get /im/chat/sessions/{sessionId}`
This is a read-only table function. The Zoom API may not support changing the data or the Invantive SQL driver for Zoom does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Zoom API.
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `from` | `datetime` | ☑ | | Start Date |
| `next_page_token` | `string` | ☐ | | Next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceed the current page size. The expiration period for this token is 15 minutes. |
| `page_size` | `int64` | ☐ | 30 | The number of records returned within a single API call |
| `sessionId` | `string` | ☑ | | IM Chat Session ID |
| `to` | `datetime` | ☑ | | End Date |
## Columns of Table Function
The columns of the table function `ImChatSessionsBySessionId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `from` | `datetime` | | ☐ | Start date |
| `next_page_token` | `string` | | ☐ | Next page token, used to paginate through large result sets. A next page token will be returned whenever the set of available result list exceeds page size. The expiration period is 15 minutes. |
| `page_size` | `int64` | | ☐ | The amount of records returns within a single API call. |
| `session_id` | `string` | | ☐ | IM Chat session ID |
| `to` | `datetime` | | ☐ | End date |