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