Skip to main content
Question

Multiple webhook subscriptions for different environments (prod/staging/dev) with a single Client ID

  • March 18, 2026
  • 1 reply
  • 58 views

Forum|alt.badge.img

Hi,

I'm building an application using the Strava Webhook Events API and I'm running into an environment isolation issue.

The problem: Strava only allows one active webhook subscription per Client ID. This makes it impossible to run separate webhook callbacks for different environments (production, staging, development) simultaneously — registering a new subscription either fails with a 409 or overwrites the previous one.

Our setup:

  • One Strava API application (single Client ID / Client Secret)
  • Three environments: production, staging, local dev
  • Each environment needs to receive webhook events independently

What we've tried:

  • Using different callback URLs per environment → only one can be active at a time
  • Registering/deleting subscriptions on deploy → creates race conditions and breaks other environments

What we'd like to know:

  1. Is there an official recommended pattern for handling multiple environments with the Strava webhook API?
  2. Is there a way to get multiple Client IDs for the same application (e.g. one per environment)?
  3. Is a "fan-out" proxy approach (one endpoint that dispatches to multiple environments) the intended workaround?

Any guidance from the team or community would be appreciated. Thanks!

1 reply

Forum|alt.badge.img+9
  • Hub Explorer
  • April 2, 2026

Hi Sebastien,

My suggestion would be to create a test user on Strava, which will allow you to create a second client ID for testing.

Do you truly need to receive webhooks outside of prod though? You can test your webhook integration without Strava, and if you need Strava data in staging you can easily pull that manually.