---
title: "List all activities"
method: GET
path: "/clubs/{connection_id}/activity"
tags: ["clubs", "activity"]
---

# List all activities

`GET /clubs/{connection_id}/activity`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/clubs/{connection_id}/activity`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `group_id` string
- `start_gte` string
- `end_lt` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- ClubsActivity[]
  - `id` string: Unique identifier for this activity (not provided by ClubActivity)
  - `created_at` string, date-time: The date that this activity was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this activity was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `group_id` string: The group this activity was listed under (reference to HrisGroup)
  - `name` string: The name of the activity
  - `description` string: The description of the activity (DetailedActivity only)
  - `type` 'RUNNING' | 'CYCLING' | 'SWIMMING' | 'TRIATHLON' | 'WALKING' | 'HIKING' | 'OTHER': The activity type
  - `athlete_id` string: The id of the athlete who performed the activity (DetailedActivity only)
  - `athlete_name` string: The full name of the athlete
  - `distance` number: The activity's distance, in meters
  - `moving_time` number: The activity's moving time, in seconds
  - `elapsed_time` number: The activity's elapsed time, in seconds
  - `total_elevation_gain` number: The activity's total elevation gain, in meters
  - `elevation_high` number: The activity's highest elevation, in meters (DetailedActivity only)
  - `elevation_low` number: The activity's lowest elevation, in meters (DetailedActivity only)
  - `start_at` string, date-time: When the activity started (UTC) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `timezone` string: The timezone of the activity
  - `achievement_count` number: The number of achievements gained during this activity
  - `kudos_count` number: The number of kudos given for this activity
  - `comment_count` number: The number of comments for this activity
  - `athlete_count` number: The number of athletes that took part in this activity
  - `photo_count` number: The number of Instagram photos for this activity
  - `average_speed` number: The activity's average speed, in meters per second
  - `max_speed` number: The activity's max speed, in meters per second
  - `average_cadence` number: The activity's average cadence
  - `average_heartrate` number: The activity's average heart rate, in beats per minute
  - `max_heartrate` number: The activity's max heart rate, in beats per minute
  - `average_watts` number: The activity's average power output, in watts
  - `max_watts` number: The activity's max power output, in watts
  - `weighted_average_watts` number: The activity's weighted average power output, in watts
  - `kilojoules` number: The total work done, in kilojoules
  - `calories` number: The number of kilocalories consumed during this activity
  - `has_heartrate` boolean: Whether the activity has heart rate data
  - `is_trainer` boolean: Whether this activity was recorded on a training machine
  - `is_commute` boolean: Whether this activity is a commute
  - `is_manual` boolean: Whether this activity was created manually
  - `is_private` boolean: Whether this activity is private
  - `map_polyline` string: The detailed polyline of the activity's map
  - `map_summary_polyline` string: The summary polyline of the activity's map
  - `workout_type` number: The activity's workout type
  - `suffer_score` number: The activity's relative effort score
  - `pr_count` number: The number of personal records set during this activity
  - `metadata` ClubsMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
