Skip to main content
Need help with your Strava integration? Pop into our Discord if you have questions or want to discover how Open Wearables can solve your problems.

Overview

Strava provides access to activity/workout data through their API. The integration supports real-time webhook notifications for new activities as well as historical activity data via polling. Each Open Wearables user can connect their own Strava account. Strava’s Standard Tier allows up to 10 connected athletes — upgradeable directly from your API Settings Dashboard without formal review. For more than 10 athletes, apply for Extended Access Tier.
Strava subscription required (as of June 2026). A Strava subscription is now required to access the API as a Standard Tier developer. If you registered before June 1, 2026 you have until June 30, 2026 to subscribe. Extended Access Tier developers are not affected.

Supported data types

Strava is an activity-focused platform — it does not provide continuous health monitoring data like sleep, HRV, or daily summaries. Workout segments are stored on workout_details.segments as lap-kind entries in the same shape as FIT-parsed segments (e.g. Garmin): an activity’s manual/device laps when the athlete recorded more than one (intervals), otherwise Strava’s auto per-kilometre splits_metric. Each segment carries distance_meters, elapsed_seconds, avg_speed and avg_heart_rate; laps additionally carry max_heart_rate, avg_cadence, avg_power and total_ascent. Segments come from the DetailedActivity payload, so they populate for webhook-ingested activities — the summary list used for backfills carries no laps or splits. Request them on workout endpoints with ?include=segments.

Data delivery

Developer tiers

Self-upgrade to Standard Tier (up to 10 athletes) directly from your API Settings Dashboard. For Extended Access, submit your app for review through the same dashboard.

What you need by the end

  • App credentials: Client ID + Client Secret
  • OAuth scopes configured
  • Webhook subscription created (so Strava sends activity events to your server)

Prerequisites

  • A Strava account (active subscription required for Standard Tier API access; Extended Access Tier is exempt)

Application walkthrough

1

Create a Strava API Application

Log in to your Strava account and go to:Fill in the application form:
  • Application Name: Your app name
  • Category: Choose the category that best describes your app
  • Website: Your app’s website URL
  • Authorization Callback Domain: localhost for local development, or your production domain (e.g. yourdomain.com)
The Authorization Callback Domain is just the domain, not the full URL. For local development, use localhost. Do not include the port or path.
After creating the app, you’ll receive:
  • Client ID
  • Client Secret
Treat the Client Secret like a password. Store it in your secrets manager and rotate if compromised.
2

Configure credentials in Open Wearables

Add the following to your .env file:
Configuration details:
Strava signs its webhook events with a key it does not share, so Open Wearables cannot check the signature. Instead, the callback URL carries a secret derived from SECRET_KEY, which authenticates each event. In addition, before deleting an activity or disconnecting an athlete, Open Wearables confirms the change in the Strava API.
3

Create a webhook subscription

To receive real-time activity notifications, Strava needs a webhook subscription pointing at your Open Wearables instance. Your server must be publicly accessible over HTTPS. For local development, use a tunneling tool like ngrok.In your Open Wearables dashboard, go to Settings → Providers, find Strava, and switch its live sync mode from Periodic pull to Webhook. Open Wearables registers the subscription in the background with this callback URL:
The callback token is derived from SECRET_KEY and is not shown anywhere. Strava sends a GET handshake to that URL; Open Wearables checks the token in the path and the hub.verify_token parameter, and echoes back hub.challenge to confirm the subscription. Requests without the token, or with a wrong one, are rejected with 401.After a new SECRET_KEY or API_BASE_URL, register the subscription again with POST /api/v1/providers/strava/webhooks/subscriptions (see provider webhook subscriptions). Strava allows only one subscription per application and its callback URL cannot be changed, so Open Wearables deletes the old subscription and creates a new one; for Strava, the callback_url parameter is ignored. Instances upgrading from a version without the token do this once on their own at startup.
Treat the callback URL like a password. Anyone who knows it can send events in Strava’s name, though deletes and deauthorizations are still confirmed in the Strava API. Open Wearables masks the token in its logs, in Sentry, and in the subscription list, but your reverse proxy’s access logs record full request paths. If the URL leaks, rotate SECRET_KEY, restart, and register the subscription again. A new SECRET_KEY also invalidates issued access tokens (refresh tokens stay valid, so sessions renew), and changes the webhook secrets derived from it (Google Health, Oura, Suunto) unless those are set explicitly, so those providers need their subscriptions or portal settings updated too. It also changes Garmin’s webhook URL, which you have to update by hand for every data type in the Garmin portal (see Garmin API Integration).
4

Verify the integration

Once everything is configured:
  1. Start your Open Wearables instance
  2. Connect a Strava account through the OAuth flow
  3. Create or record an activity on Strava
  4. The webhook should deliver the event and Open Wearables will fetch and store the full activity data

OAuth Scopes Reference

The default scope activity:read_all,profile:read_all is recommended for full activity data access.

Next Steps

API Reference

Explore the Open Wearables API endpoints.

Architecture

Understand the overall system architecture.

Support

Need Help?