Daily activity

List activities

Changed on

List users activities available in AccessLink. When no date range is given, activities from the last 28 days are returned. When from is given, activities 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

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-28

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

stepsboolean

include steps samples for activity summary.

activity_zonesboolean

include activity zones samples for activity summary.

inactivity_stampsboolean

include inactivity stamps for activity summary.

Response

List of extended daily activities with all samples.

start_timestring

Start time of the activity in UTC

end_timestring

End time of the activity in UTC

active_durationstring

The duration of the activity in ISO8601 format

inactive_durationstring

The duration of the inactivity in ISO8601 format

daily_activitynumber float

Daily activity score / percentage

caloriesinteger

Total calories burned during the day

active_caloriesinteger

Active calories burned during the day, excluding BMR

stepsinteger

Total number of steps taken during the day

inactivity_alert_countinteger

Number of inactivity alerts received during the day

distance_from_stepsnumber float

Distance covered based on steps taken, in meters

Example response

[
  {
    "start_time": "2025-08-13T08:15:30",
    "end_time": "2025-08-13T23:59:59",
    "active_duration": "PT3H11M",
    "inactive_duration": "PT18H23M30S",
    "daily_activity": 89.1,
    "calories": 2500,
    "active_calories": 1500,
    "steps": 8823,
    "inactivity_alert_count": 1,
    "distance_from_steps": 4590.53,
    "samples": {
      "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