I’m updating a PowerShell script to use the v2025 API instead of v3 for IdentityNow. The script retrieves access requests successfully using the v3 endpoint:
GET https://<tenant>.api.identitynow.com/v3/access-request-administration?limit=250&offset=0&count=true&request-state=EXECUTING
However, when I switch to the v2025 API (or try similar logic), I consistently get:
WARNING: Failed to retrieve access requests at offset 0
WARNING: The remote server returned an error: (400) Bad Request.
Details:
-
Authentication works (Bearer token).
-
Headers:
Authorization: Bearer <token>,Accept: application/json. -
Query parameters:
limit,offset,count=true,request-state=EXECUTING. -
Works fine with v3, fails with v2025.
Questions:
-
What is the correct endpoint and query parameter format for retrieving access requests in v2025?
-
Does v2025 still support pagination with
limitandoffset? -
Is
request-statestill valid, or has it changed in v2025?
Any documentation or examples for retrieving access requests via v2025 would be greatly appreciated!
Thank you!