What are you calling it with? You could use a code page and send the user there with all the required FIDs in the URL. Or if you know of a way to get all the records into a report you could send the user to the code page and have the page query that report and pull in all the FIDs you needed and then do whatever you want, like loop through them calling the API command each time, and then send the user back to where they came from.
I do something similar with a few things but it is more like I have a custom website that is hosted inside Quickbase that takes advantage of the code and HTML pages to allow the user to input some RIDs and update records in a popup window.