Hi @Shreyasi Srivastava ,
Thank you for posting query in Microsoft Q&A Platform.
Sorry your ask is little unclear to me. What is mean when you say API call worked for 1000 records? You mean your API call will give you 1000 records in one call?
You mentioned that you want to apply custom pagination using until loop. Could you please elaborate more with some simple example?
between, could you please check below video, where pagination handled using ForEach loop and copy activity inside of it? may be this will be helpful in your case.
https://www.youtube.com/watch?v=EbURwy2a8dM
Above video contains Foreach loop and copy activity. If in your case you want to use Until activity then yes you can use it. But make sure to end Until loop at some point by using some flag. Please check below video as well to understand how until loop works.
https://www.youtube.com/watch?v=n8e_exWMH5k
Hope this helps. Please let us know it goes. Thank you.