Please help clarify the API /chat/users/{userId}/sessions mentioned from
https://marketplace.zoomgov.com/docs/api-reference/chat/methods/#operation/getChatSessions
-
Does the request have parameters “from” and “to” ? Based on the response schema description, there are “from” and “to” fields when calling the API with “from” and “to” query parameter. I tried different format of the “from” and “to” in the request, but it seems not working.
{{baseUrl}}/chat/users/xxx/sessions?from=2023-01-01T10:20:20Z&to=2023-02-01T10:20:20Z -
what is the use of the “total_records” in the response? It is not mentioned in the document and always 0 in my tests
-
What is the page_size in the response? I always get the value with 0. Is it expected to be number of sessions in the response within a single API call ?
-
If the “from” and “to” query parameters are supported, what is the expected format of the parameters? Are they yyyy-mm-dd or yyyy-mm-ddThh:mm:ssZ ?
Thank you for your help!