Welcome to Discussions! We're excited you're here. Find help, friendly discussions, and new member introductions in this space!
Recently active
Hello, We have a swimming app and have a limit at 999 for number of athletes allowed to connect. We reached this limit. How to get past it? How to raise the limit? Thanks a lot
Hey,During the Auth process, we are requesting (amongst others) the scope activity:write. Is there a way to determine if the user deselected (or indeed kept selected) this permission during the Auth Process? Either in the response back from in the auth process, or, at a later date with a separate API request? At present, the only way I can see how to determine it is to try to write and catch the Unauthorised Error (a pretty ugly way to do it!). Thanks
Hi there 👋As a developer an a Strava user, it will be very helpful to add an optional parameter to the getLoggedInAthleteActivities request so it only returns activities matching a specific type.For example, if an app only use Strava API for bike stats, it could only get the activities matching the type "Bike".Thanks for your attention! 😁
I have a new user connected to my app two days ago. Out of the sudden I am reciving batches and batches of webhook events for activities updates. The updates are: {"visibility":"everyone"}Activities to be updated are from 2014, 2015, 2016 and so on. I have asked the user how she did it. And she says she have changed the account visibility about 2 weeks ago.So my question is are those events are still coming from that change 2 weeks ago (before connecting to my app) or there is some other logic behind such webhooks behavior?
Hi, I'm trying to update an activity using the endpoint updateActivityById with a PUT request in Python. However, I'm consistently getting a "Resource Not Found" error. Here's my code: def update_acti(idd): activity_write_read_all_token = *** url = f'https://www.strava.com/api/v3/activities/{idd}' header = { 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + activity_write_read_all_token } data = { 'gear_id' : user['shoes'] #shoes identifier, string } r = requests.put(url, headers = header, json = data).json() return r response = update_acti(***) I get an error 404 : Ressource Not Found.I first checked that the activity existed with getActivityById and it does. The user['shoes'] returns the correct gear id as a string. Even with this line commented I still get the error.Then I supposed the error came from my PUT request "syntax" or from the access token. So I tested the updateAc
Hi,I'm trying to make an script on python to upload all my old activities.Created the app on the portal, and got client_id and client secret. import os import requests import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) CLIENT_ID = "my_client_id" CLIENT_SECRET = "my_secret" REFRESH_TOKEN = "my_refresh" def get_access_token(): auth_url = "https://www.strava.com/oauth/token" payload = { 'client_id': CLIENT_ID, 'client_secret': CLIENT_SECRET, 'refresh_token': REFRESH_TOKEN, 'grant_type': "refresh_token", 'scope': 'activity:write', 'f': 'json' } print("Requesting Token... ") res = requests.post(auth_url, data=payload, verify=False) try: res.raise_for_status() access_token = res.json()['access_token'] print("Access Token = {} ".format(access_token)) return access_token except requests.exceptions.HTTPError as err: print
I've noticed that activities returned by the Get Activities endpoint have short laps removed. This also appears when viewing the activity on Strava itself, suggesting Strava may be applying some sort of processing.For context, I keep autolap (1mi) on my watch when running on a track. If autolap beeps before I cross the line, I hit the lap button again as I cross the line, then add the two times for the full mile time. My app (workoutsplitz.com) implements the same logic, and Strava's removal of these short laps is causing inaccuracies as a result. I've attached two screenshots, one from Strava and the other from Garmin, showing the differences.Strava:Garmin:Furthermore, the "reconciliation" laps are at the same pace as the prior lap, and are at a speed which is clearly not standing/walking, so it's not obvious why they are removed in the first place.Has anyone else noticed this, or found a way to get the full, unprocessed lap data?
Boa tarde , Como posso buscar todos os atletas de um determinado clube pelo get disponibilizado não traz todas as informações estou usando assim https://www.strava.com/api/v3/clubs/962795/members?page=1&per_page=200&access_token=e9166a9e5c00f4634l2685920g69db80f2bc77ba A comunidade de tem 71 membros porem esta aparecendo apenas 44 TRANSLATION: Good afternoon, How can I search for all the athletes of a particular club so that they can be made available and do not map all the information they are using as well? https://www.strava.com/api/v3/clubs/962795/members?page=1&per_page=200&access_token=e9166a9e5c00f4634l2685920g69db80f2bc77ba A community of 71 members is appearing only 44
Hello!Since a while ago, as indicated from support, Strava allows to show the steps taken in walking or hiking activities https://support.strava.com/hc/es-es/articles/13772272971533-Pasos-en-Strava.This is limited only to some devices, but it could be extended if it would be allowed to obtain the steps data from the TCX file generated by many devices.As you can see in this image https://i.imgur.com/WuLPip9.png, the steps data are contained in the <Steps> tag, inside the Extensions.LX and <Lap> structure.As Strava already displays the calorie data, it will not be too complicated to access the step data in the TCX file to display it.If this is supported, it would extend the compatibility of the step count with more devices.https://support.strava.com/hc/es-es/requests/2831801
Is the "Get Activity Streams (getActivityStreams)" failing when the activity is too long? Anyway to limit the number of coordinates you are returning? Thank you
Hello! Is it possible to generate TypeScript Client Code? I tried, but what I got is different files for the JavaScript and TypeScript versions.TSJSClient codeYou will need to have a Java runtime installed on your machine to run Swagger. To generate client code, you first need to install Swagger Codegen 2.X. On macOS, you may use Homebrew:$ brew install swagger-codegen@2 mavenTo generate code in a given language, run swagger-codegen generate and pass the following parameters:--input-spec <spec file>: Use https://developers.strava.com/swagger/swagger.json for Strava’s API--config <configuration file>: (optional) pass the settings or overrides you want the code generator to honor--lang <language>: the target programming language you seek to generate code for (running swagger-codegen by itself will print a list of available languages)--output <output directory>: where to write the resulting filesThis example w
Hello, I followed the steps at: https://developers.strava.com/docs/webhookexample/I got a callback when I requested it this morningbut return 400 reason is strava request parameter 'hub.mode' for method parameter type String is not presenti change this@RequestParam(value = "hub.mode", required = false) String modehowever when i push_subscriptions again. I never received callback from strava again。it remain “GET to callback URL does not return 200”. I also tried calling the endpoint directly
Showing invalid data
I'm trying to retrieve the waypoints of a route to generate directions but they're always returning empty. I tried both {athlete}/routes and routes/{route_id}. Is anyone else experiencing this?
When reading activity data, we can't get the step count of an activity. Even when the step count is visible in the Strava app, when retrieving the detailed activity data, there is no step count reference. Will this be added soon? Users ask us for this feature.
Hi there. I have a medium sized app and am approaching the limit for the number of connected athletes. I have completed the review form (https://share.hsforms.com/1VXSwPUYqSH6IxK0y51FjHwcnkd8) but not yet heard anything back from Strava. Does anyone know how long it usually takes for them to review connected athlete / rate limit increases?Thanks in advance.
Past Samsung Health exercise means, exercises recorded before connecting Samsung Health and Strava
Plis help i can't link apk RRtrakcs to strava
I've been working on an app integration to support link previews on Strava links. However, within the last week Strava doesn't appear to be including the meta tag for the image to enable link previews (like with the photo the user took).Example Strava link: https://strava.app.link/KFpJNkgulLb
Hi Strava,I was trying to use API Strava to fetch data from Activity Club. The all data I need is success to fetched except date information. The problem is I can't sort the data based on time & I can't make performance graph for the member of club monthly. so I would like to suggest Strava Team to add date parameter in object array API of ClubActivity to solve that problem. I also discover in discussion forum that many users have the same problem with me. https://communityhub.strava.com/t5/developer-discussions/date-is-not-getting-from-club-members/td-p/21746https://communityhub.strava.com/t5/developer-discussions/clubathlete-does-not-include-athlete-id/m-p/20614/highlight/true#M1075https://communityhub.strava.com/t5/developer-discussions/get-month-activities-of-all-members-of-a-club/td-p/19418https://communityhub.strava.com/t5/developer-discussions/clubs-endpoint-documentation-update/m-p/5884/highlight/true#M71
We will have an event throughout this year, but we don’t know how many people will actually participate. Is there any way to increase the number of athlete capacity allowed to connect to 20,000?
Call me a purist, The frequency and magnitude of using indoor riding to build elevation stats seems like an insult to the very sport of cycling itself. Example, when a rider posts 3500+ climb on a 1 hour indoor ride, a stat they never don’t achieve likewise outdoors, it seems disingenuous. Ride and climb away inside, but purist cyclist should be free to compare their stats to other riders that have shunned indoor stats as part of their overall gains. STRAVA, let’s unite and create a separate category for indoor elevation (and miles.) Indoor doesn’t factor wind, temperature and traffic etc.
Hi Team,I have an application which is fearing Strava activities of the users . The integration is working fine for most of the users; however for a few users the integration is not working and token is not getting generated. need help on the possible cause and way to solve this
I am developing a app that integrates with Strava and am in the process of converting from polling to using the webhook API. Currently it only posts updates on activity creation, deletion, or when two fields are updated, title, or type (and privacy). This is a bit underwhelming as if a user changes anything else, for example the duration or start time of the activity. This makes it impossible to sync time data with Strava without polling the API ever X duration, it would be really helpful if date related changes were included in webhook updates.If I am missing something lmk. Thank you.
Hi team, How am I able to increase my connected user limit. I've recently setup my developer account and my connected user limit is 1. Thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.