Daily activity

List activity samples

Changed on

List users activity samples available in AccessLink. When no date range is given, activity samples from the last 28 days are returned. When from is given, activity samples for the specified date range are returned. From date cannot be older than 365 days from today and the maximum range between from and to is 28 days.

get/v3/users/activities/samples

Request

Query parameters

fromstring date
Example:2023-01-01

Start date in format YYYY-MM-DD. If not given, defaults to 28 days ago.

tostring date
Example:2023-01-31

End date in format YYYY-MM-DD. If not given, defaults to today.

Response

List of users activity samples.

datestring

Activity day date

Example response

[
  {
    "date": "2022-02-10",
    "steps": {
      "samples": [
        {
          "timestamp": "2025-08-14T00:02"
        }
      ]
    },
    "activity_zones": {
      "samples": [
        {
          "timestamp": "2025-08-14T00:08:30"
        }
      ]
    },
    "inactivity_stamps": [
      {
        "stamp": "2022-02-10T16:04"
      }
    ]
  }
]

Changes

    • breaking

      the //// response's property format changed from SEDENTARY to no format for status

    • info

      added the new optional query request parameter from

    • info

      added the new optional query request parameter to

    • info

      added the non-success response with the status

    • info

      endpoint added