Hi Melody,
Thank you for posting query in Microsoft Q&A Platform.
consider having your Ids in array variable and pass that array variable to ForEach activity. Inside foreach activity frame your request URL with each id and then use that request URL in for API call.
I did little similar API calls using foreach loop in below video. Kindly refer that for better understanding.
Copy data from REST API which sends response in Pages using Azure data factory
Hope this helps. Please let me know if any further queries. Thank you.