Uploading photos to use with the CreateActivity endpoint

87 views
Skip to first unread message

Jon Allars

unread,
Jan 23, 2019, 2:52:18 AM1/23/19
to Strava API
We are starting to implement an integration with our system using the Strava API. One of the most requested features is to be able to push an activity into Strava when marked as complete so we are starting there. 

We have managed to successfully authorise a user (using the new OAuth flow so we have access and refresh tokens) and create an activity using the CreateActivity endpoint. In this use case we don't have a FIT or GPX file hence using CreateActivity rather than UploadActivity and that seems to work well. However we would like to add a photo to the activity so that the user can see at a glance what type of session it was.  

The documentation mentions:

photo_ids 
String, in form

List of native photo ids to attach to the activity.
but we cannot see how to use this. Is there a endpoint to upload the photo to first to get the native photo id or is this something that is only available if we are part of the Strava Business program? 

Thanks in advance for any help. 

Jon

Head Developer
Swim Smooth

Michael Chartier

unread,
Oct 21, 2019, 2:57:39 PM10/21/19
to Strava API
Same issue here. Did you ever solve it?

Mike Chartier
Motion Instruments

Arturo Gomez

unread,
Feb 17, 2021, 10:54:23 AM2/17/21
to Strava API
Reply all
Reply to author
Forward
0 new messages