Fetching URL parameters from API Endpoint

Bubble does not have native support for retrieving data from the page URL in the backend when auto-detecting the response. However, we have discovered a workaround to achieve this functionality. By utilizing a webhook in Stripe that utilizes URL parameters, we can successfully identify a user in a multi-tenant integration, where webhooks are configured for each user.

Here is an example URL that demonstrates this approach: https://hidden-from-view.bubbleapps.io/version-test/api/1.1/wf/stripe_new_contact?user_id=15017911&company_id=11259181

To better understand the implementation process, please refer to the following video tutorial: Watch the tutorial on Loom

2 Likes

@nick.carroll We might as well support it natively? :smiley:

1 Like

I needed this badly, and here it is. Thank you so much!

upvote @nick.carroll for getting support for this. For example, this is needed to integrate with Microsoft Graph webhooks (subscriptions): Receive change notifications through webhooks - Microsoft Graph | Microsoft Learn

1 Like