---
title: "Activities"
method: GET
path: "/clubs/{club_id}/activities"
tags: ["Activity"]
---

# Activities

`GET /clubs/{club_id}/activities`

## Request

- Base URL: `https://api.clubplatform.de/api`
- URL: `https://api.clubplatform.de/api/clubs/{club_id}/activities`
- Auth: API key in query parameter `auth_token`

Returns activities of the club.

## Path parameters

- `club_id` integer, required

## Query parameters

- `locale` 'de-DE' | 'en-GB' | 'nl-NL'
- `limit` integer
- `until` string, date-time
- `source[]` string[]

## Headers

- `If-Modified-Since` string, date-time

## Response `200`

OK

- object
  - `data` object[]: Array of activities.
    - `external_id` string: External ID of the activity.
    - `external_url` string: External URL of the activity.
    - `type` 'card_event' | 'comment_event' | 'facebook_post' | 'goal_event' | 'graph_instagram_post' | 'lineup_complete_event' | 'news_item' | 'stats' | 'match' | 'friendly_match' | 'substitution_event' | 'team_lineup_complete_event' | 'timetable_action_event' | 'var_decision_event' | 'tweet' | 'tweet_v2' | 'video' | 'youtube_video': Type of the activity.
    - `source` object: Original **raw** object. This could be an *external* object. You **SHOULD** use this object carefully, because external systems could change the structure.
    - `image` object: Object containing the optimized image URLs. Use this to achieve the best performance.
      - `medium` object: Image with max size of 640 x 640 pixels.
        - `url` string: URL to a video if the activity source contains one.
    - `image_url` string: URL to the activity image.
    - `image_width` integer: Width in pixels of the activity image.
    - `image_height` integer: Height in pixels of the activity image.
    - `profile_image_url` string: URL to an image of the user which is assocated to this activity.
    - `video_url` string: URL to a video if the activity source contains one.
    - `published_at` string: Publishing date of the activity. This **COULD** be use to paginate by the `until` parameter.
    - `account` object: Account which is associated with the source.
      - `name` string: Name of the account.
      - `id` integer: ID of the account.
      - `group_id` integer: Group ID which the account is accociated with.
      - `username` string: Username of the account.
    - `minutes_elapsed` integer: Minute of the match this event was published at. `null` if not applicable to the event's `type`. Additionally, this value is `null` if: * The event was published prior to the match. * The event was published after the match. * The event was published in between of any two periods (e.g. halftime break).
    - `injury_minutes_elapsed` integer: Injury minute of the match this event was published at. `null` if not applicable to the event's `type`. Additionally, this value is `null` if: * The event was published prior to the match. * The event was published after the match. * The event was published in between of any two periods (e.g. halftime break). * The event is in penalty shootout.

## Other responses

- `304`: Not Modified
- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/clubplatform/apis/clubplatform-api.md) - [All operations](https://skmtc.dev/clubplatform/apis/clubplatform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clubplatform/apis/clubplatform-api/revisions/5c107a185e03?raw)
