# Strava API Documentation

This is the complete API documentation for connecting to the Strava API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Strava connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/strava/actions/{actionSlug}/run
```

## Strava actions

- POST `create-activity` Create Activity
- GET `get-activity` Get Activity
- GET `get-athlete-stats` Get Athlete Stats
- GET `get-athlete-zones` Get Athlete Zones
- GET `get-authenticated-athlete` Get Authenticated Athlete
- GET `get-route` Get Route
- GET `get-segment` Get Segment
- GET `get-upload` Get Upload
- GET `list-activity-comments` List Activity Comments
- GET `list-activity-kudoers` List Activity Kudoers
- GET `list-athlete-activities` List Athlete Activities
- GET `list-athlete-clubs` List Athlete Clubs
- GET `list-athlete-routes` List Athlete Routes
- PUT `update-activity` Update Activity
- POST `upload-activity` Upload Activity
