Hi Strava API Team,
I’m currently integrating Strava into my application using the OAuth flow, and I’m successfully retrieving data for users who authenticate via Strava Login.
Now I would like to use webhooks to get real-time updates (especially activities) from multiple users who have authenticated via my app. However, I have some questions regarding how this works:
-
Is it possible to register a single webhook callback URL and receive activity updates for all authenticated users?
-
Or do I need to register a separate webhook subscription for each user?
-
If only one webhook subscription is allowed per app (as mentioned in the docs), how can I identify which user triggered the webhook event?
-
Do I need to store each user's
athlete_id
upon login to match webhook payloads with users in my database?
Any clarification or best practices on how to handle webhooks for multiple users in a single application would be greatly appreciated.
Thank you!