> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Strava Web

## Overview

<CardGroup cols={3}>
  <Card title="Pre-built tooling" icon="screwdriver-wrench" href="#pre-built-tooling" />

  <Card title="Pre-built integrations" icon="square-check" href="#pre-built-integrations" />

  <Card title="Access requirements" icon="triangle-exclamation" href="#access-requirements" />

  <Card title="Setup guide" icon="rocket" href="#setup-guide" />

  <Card title="Useful links" icon="circle-info" href="#useful-links" />

  <Card title="API gotchas" icon="biohazard" href="#api-gotchas" />
</CardGroup>

## Pre-built tooling

<AccordionGroup>
  <Accordion title="✅ Authorization">
    | Tools                           | Status |
    | ------------------------------- | ------ |
    | Pre-built authorization (OAuth) | ✅      |
    | Credentials auto-refresh        | ✅      |
    | Auth parameters validation      | ✅      |
    | Pre-built authorization UI      | ✅      |
    | Custom authorization UI         | ✅      |
    | Expired credentials detection   | ✅      |
  </Accordion>

  <Accordion title="✅ Read & write data">
    | Tools                                     | Status                         |
    | ----------------------------------------- | ------------------------------ |
    | Pre-built integrations                    | ✅                              |
    | API unification                           | ✅                              |
    | 2-way sync                                | ✅                              |
    | Webhooks from Nango on data modifications | ✅                              |
    | Real-time webhooks from 3rd-party API     | 🚫 (time to contribute: \<48h) |
    | Proxy requests                            | ✅                              |
  </Accordion>

  <Accordion title="✅ Observability & data quality">
    | Tools                   | Status |
    | ----------------------- | ------ |
    | HTTP request logging    | ✅      |
    | End-to-end type safety  | ✅      |
    | Data runtime validation | ✅      |
    | OpenTelemetry export    | ✅      |
    | Slack alerts on errors  | ✅      |
    | Integration status API  | ✅      |
  </Accordion>

  <Accordion title="✅ Customization">
    | Tools                              | Status                         |
    | ---------------------------------- | ------------------------------ |
    | Create or customize use-cases      | ✅                              |
    | Pre-configured pagination          | 🚫 (time to contribute: \<48h) |
    | Pre-configured rate-limit handling | 🚫 (time to contribute: \<48h) |
    | Per-customer configurations        | ✅                              |
  </Accordion>
</AccordionGroup>

### Others

| Function name             | Description                                                                                     | Type                                           | Source code                                                                                                                        |
| ------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `create-activity`         | Create a manual activity.                                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/create-activity.ts)         |
| `explore-segments`        | Search for popular segments within a bounding box.                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/explore-segments.ts)        |
| `get-activity-streams`    | Get the time-series data streams (latlng, distance, altitude, heartrate, etc.) for an activity. | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-activity-streams.ts)    |
| `get-activity-zones`      | Get an activity's heart rate and power zone distribution.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-activity-zones.ts)      |
| `get-activity`            | Retrieve an activity                                                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-activity.ts)            |
| `get-athlete-stats`       | Get an athlete's recent, year-to-date, and all-time ride/run/swim totals.                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-athlete-stats.ts)       |
| `get-athlete-zones`       | Get the authenticated athlete's heart rate and power zones.                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-athlete-zones.ts)       |
| `get-athlete`             | Get authenticated athlete.                                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-athlete.ts)             |
| `get-club`                | Retrieve a club.                                                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-club.ts)                |
| `get-route-streams`       | Get the distance/altitude/latlng streams for a route.                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-route-streams.ts)       |
| `get-route`               | Retrieve a route.                                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-route.ts)               |
| `get-segment-streams`     | Get the distance/altitude/latlng streams for a segment.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-segment-streams.ts)     |
| `get-segment`             | Retrieve a segment.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-segment.ts)             |
| `get-upload-status`       | Check the processing status of an activity file upload.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/get-upload-status.ts)       |
| `list-activity-comments`  | List the comments on an activity.                                                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-activity-comments.ts)  |
| `list-activity-kudoers`   | List the athletes who gave kudos on an activity.                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-activity-kudoers.ts)   |
| `list-activity-laps`      | List the laps of an activity.                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-activity-laps.ts)      |
| `list-athlete-activities` | List athlete activities.                                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-athlete-activities.ts) |
| `list-athlete-clubs`      | List athlete clubs.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-athlete-clubs.ts)      |
| `list-athlete-routes`     | List athlete routes.                                                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-athlete-routes.ts)     |
| `list-club-admins`        | List a club's administrators.                                                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-club-admins.ts)        |
| `list-club-members`       | List a club's members.                                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-club-members.ts)       |
| `list-segment-efforts`    | List the authenticated athlete's efforts on a segment.                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-segment-efforts.ts)    |
| `list-starred-segments`   | List the authenticated athlete's starred segments.                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/list-starred-segments.ts)   |
| `star-segment`            | Star or unstar a segment for the authenticated athlete.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/star-segment.ts)            |
| `update-activity`         | Update an activity.                                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/update-activity.ts)         |
| `update-athlete`          | Update athlete profile fields.                                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/actions/update-athlete.ts)          |
| `activities`              | Sync activities.                                                                                | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/syncs/activities.ts)                |
| `club-activities`         | Sync club activities.                                                                           | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/syncs/club-activities.ts)           |
| `clubs`                   | Sync clubs.                                                                                     | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/syncs/clubs.ts)                     |
| `gear`                    | Sync gear.                                                                                      | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/syncs/gear.ts)                      |
| `routes`                  | Sync routes.                                                                                    | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/syncs/routes.ts)                    |
| `starred-segments`        | Sync the authenticated athlete's starred segments.                                              | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/strava-web/syncs/starred-segments.ts)          |

## Access requirements

| Pre-Requisites    | Status | Comment |
| ----------------- | ------ | ------- |
| Paid dev account  | ❓      |         |
| Paid test account | ❓      |         |
| Partnership       | ❓      |         |
| App review        | ❓      |         |
| Security audit    | ❓      |         |

## Setup guide

*No setup guide yet.*

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

<Note>Contribute improvements to the setup guide by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/strava-web.mdx)</Note>

## Useful links

* [How to register an Application](https://developers.strava.com/docs/getting-started/#account)
* [OAuth-related docs](https://developers.strava.com/docs/authentication)
* [List of OAuth scopes](https://developers.strava.com/docs/authentication/#details-about-requesting-access)
* [Scopes Update](https://developers.strava.com/docs/oauth-updates/)
* [Web API docs (their REST API)](https://developers.strava.com/playground)

<Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/strava-web.mdx)</Note>

## API gotchas

* When adding the callback URL to Strava, you only have to add the domain of the URL and not the complete URL path.

<Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/strava-web.mdx)</Note>
