I am calling the /v2/report/activities API endpoint for retrieving a report for all sign-in/sign-out of users under my organization’s account.
This endpoint is documented here:
https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/reportSignInSignOutActivities
The response payload contains an IP address field, for example:
{
“activity_logs”: [
{
“client_type”: “Browser”,
“email”: “jchill@example.com”,
“ip_address”: “192.0.2.1”,
“time”: “2019-09-15T19:13:41Z”,
“type”: “Sign out”,
“version”: “5.9.1.2581”
}
],
“from”: “2019-09-01T00:00:00Z”,
“next_page_token”: “b43YBRLJFg3V4vsSpxvGdKIGtNbxn9h9If2”,
“page_size”: 30,
“to”: “2019-09-20T00:00:00Z”
}
Recently, we started getting different formats for the IP address: sometimes we get an IPv4 address, and sometimes we get an IPv6 address, for the same users and devices.
The API documentation does not refer to the IP format, and I cannot figure out why the format is not consistent, I am interested in getting only IPv4 addresses.
Anybody knows how could this be done ?
TIA,
Chanan