Retrieving a non-labelled list as input

Options
Georges Duverger
Georges Duverger Trusted Xano Expert
edited January 2023 in ? Working with APIs

(I'm embarrassed to ask because I feel like I'm missing something obvious, but here we go.)

I'm trying to catch a webhook (from Shopify). The data sent looks like:

[{"email": "foo@domain.com"}]

Whether or not I use a JSON or an Object type in the Inputs section, I always end up in the Run & Debug console with something that looks like this:

`{"foo": […]}` (for JSON list)

I don't have control over the schema of the data being sent (it's a webhook). How can I properly retrieve the first schema?

🤔