Pass dynamic data to REST API call

Hi,

I need some help with passing dynamic parameters to a REST API call.
As far as I understand I can use {LOGGED_IN_USER: columnName} to pass specific data from the user schema.

Is it possible to pass data to the REST API call any other way??

For example, I want a non-logged in user to be able to see a result of fetching data from REST API and see that data in a table, but how can I pass any session information to differentiate this website load from another when performing the fetch?

Is there a {NON_LOGGED_IN_USER: …} approach available?

Or, is it possible to pass a parameter value from a URL query param while performing a REST call?