URL Params sorting

I'm integrating with the WhatsApp Business API, and one of the requests I need to make requires the URL parameters to be in a specific order. For example:

https://lookaside.fbsbx.com/whatsapp_business/attachments/?mid=1625912428018381&ext=1739374804&hash=ATur4DmX2doVBtrG4SVCYUhChcFkNgWF8eP82QLVxqJEmg

The parameter "mid" must be the first parameter; otherwise, an error is returned.

Analyzing the requests made by Retool, I noticed that it automatically sorts the parameters in alphabetical order before making the request, which is causing the error.

Is there a way to disable this URL parameter sorting behavior?

Hi @Daniel_Terra,

I always wondered why this option existed in settings, now I know! If you go to setting on your account (top right) and then go to Beta (last one usually in left menu) you'll see this options.

image

That should take care of it. The docs are here.

3 Likes