Vai al contenuto principale

Strava Integration

Strava is the dominant social network for runners and cyclists. The vitalera Strava integration covers activities, HR/cadence/power/altitude streams, and live push notifications via Strava's webhook subscription system.


Data types

CategoryHighlights
ActivitiesType, distance, duration, elevation gain, calories
StreamsTime-indexed arrays: HR, cadence, altitude, velocity, power, grade
AthleteProfile, weight, FTP (where set)

Connection

curl -X POST https://api.vitalera.io/api/connected-accounts/strava/oauth/initiate/ \
-H "Authorization: Bearer <user_token>"

Scopes requested: activity:read_all,profile:read_all.

Webhooks

Strava webhooks use a hub.challenge handshake when the subscription is created — vitalera handles the verification automatically. After subscription, Strava posts create, update, and delete events for activities and athlete deauthorisation.


Next steps