Subscribe to Strava Webhooks

To create a Strava webhook subscription, the designated callback url must accept an input object in a GET call structured per the following:

{
hub.mode: subscribe,
hub.challenge: <random string>,
hub.verify_token: <your_verify_token>
}

I am struggling to accomplish this in Xano. For example, if I create an Object input named "hub" and add "mode" "challenge" and "verify_token" child elements, then copy/paste the input structured as outlined above, I receive the following error when I run it:

{
"code":"ERROR_CODE_INPUT_ERROR",
"message":"Missing param: mode",
"param":"hub"
}

What is the correct approach to capture this input so that I can perform the necessary logic with it? Any help would be greatly appreciated!

3 replies