Cannot use dynamic URL to make API calls

I have a table widget and when a user clicks on any row of the table , I am navigating to other page with selected row ID. Now using the selected row ID , I want to call an API to receive more info about the selected row ID. I have enabled call API on page load but it is still not working.
Can anybody help me on this?

Hey! I think we are discussing this already on discord. Just in case -
Could you please make sure that the API with dynamic URL is running on page load?

Yes I have checked that option