GET
/
environments
/
{environmentId}
/
analytics
/
visits
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/analytics/visits \
  --header 'Authorization: Bearer <token>'
{
  "summedSessionsCount": 123,
  "summedTotalUniqueCount": 123,
  "users": {
    "totalUnique": 123,
    "sessions": [
      {
        "count": 123,
        "date": "<string>"
      }
    ]
  },
  "visits": {
    "totalUnique": 123,
    "sessions": [
      {
        "count": 123,
        "date": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Query Parameters

startDate
string
endDate
string

Response

200 - application/json
summedSessionsCount
integer
summedTotalUniqueCount
integer
users
object
visits
object