Dear Nintex Support Team,
I am using PowerShell to interact with the Nintex Workflow Cloud API, and I am encountering an issue when retrieving instances. My goal is to retrieve more than 100 instances from the API, but currently, I am only getting 100 instances, even though the site contains more.
Here is the PowerShell code that I am using to make the request:
# Set the Nintex API URL
$url = "https://eu.nintex.io/workflows/v2/instances?pageSize=100"
# Set the request headers
$headers = @{ 'Authorization' = "Bearer $token" 'Accept' = 'application/json' }
# Make the GET request using Invoke-RestMethod
$response = Invoke-RestMethod -Uri $url -Headers $headers -Method Get
I have noticed that the API limits the number of instances returned in a single request to 100. However, I cannot find information in the documentation on how to retrieve all available instances.
Could you please provide guidance on how to retrieve more than 100 instances from the Nintex Workflow Cloud API using PowerShell? Are there specific parameters or methods I should use to achieve this goal? Or Access additional pages of results if there are multiple pages?
Any assistance you can provide in resolving this issue would be greatly appreciated.
Thank you in advance for your help.
Best regards,
Hassan