Make sure the URL Parameter in the API connector is NOT set to private, then you can populate it with an input value when making the call in your app (whether as an action or a datasource).