curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/analytics/overview \
--header 'Authorization: Bearer <token>'
{
"activeUsers": [
{
"date": "2023-12-25",
"nUsers": 123
}
],
"sessions": {
"byLoginMethod": [
{
"date": "2023-12-25",
"dimValue": "<string>",
"nSessionsVisits": 123
}
],
"byOperatingSystem": [
{
"date": "2023-12-25",
"dimValue": "<string>",
"nSessionsVisits": 123
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
Start date in ISO format (YYYY-MM-DD)
End date in ISO format (YYYY-MM-DD)
Time granularity for the data
day
, week
, month
Analytics overview data
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/analytics/overview \
--header 'Authorization: Bearer <token>'
{
"activeUsers": [
{
"date": "2023-12-25",
"nUsers": 123
}
],
"sessions": {
"byLoginMethod": [
{
"date": "2023-12-25",
"dimValue": "<string>",
"nSessionsVisits": 123
}
],
"byOperatingSystem": [
{
"date": "2023-12-25",
"dimValue": "<string>",
"nSessionsVisits": 123
}
]
}
}