Okta Identity Governance
/- Management APIs
- Access Requests - V1
List all requests
Lists all or a subset of requests made by users in your organization.
Use the ?filter= parameter to narrow results with the following request properties: requestStatus and lastUpdated.
Pagination parameters are accepted, and standard link headers are in the response.
Apply various filters by using supported request filtering properties.
Note: Query parameter percent encoding is required. See Percent-encoding
Examples:
Filter by requestStatus
filter=requestStatus eq "RESOLVED"Filter by lastUpdated
filter=lastUpdated gt "2022-05-24T14:15:22Z"Filter by requestStatus and lastUpdated
filter=requestStatus eq "RESOLVED" AND lastUpdated gt "2022-05-24T14:15:22Z"Apply an ordering of requests by specifying a supported request property name with %20asc or %20desc suffix.
Note: Query parameter percent encoding is required. See Percent-encoding
Examples:
Order by created
orderBy=created descOrder by lastUpdated
orderBy=lastUpdated desc- https://subdomain.okta.comhttps://subdomain.okta.com/governance/api/v1/requests
curl -i -X GET \
'https://subdomain.okta.com/governance/api/v1/requests?filter=requestStatus%20eq%20%22RESOLVED%22&after=stringstringstringstring&limit=20&orderBy=created%20desc'A successful request list response
All requests on the current page
Example:
[ { "subject": "request-from-service-now-xsd23432", "requestTypeId": "61eb2db568c7c300079fefd0", "requesterUserIds": [ … ], "id": "61eb06a3c462d20007f0235c", "lastUpdated": "2022-05-05T14:15:22Z", "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR", "resolved": "2022-05-05T14:15:22Z'", "requestStatus": "RESOLVED", "type": "ACCESS_REQUEST", "permalinkId": 1, "_links": { … } } ]
Response
A List Request response with no filter
{ "data": [ { … }, { … } ], "_links": { "self": { … }, "next": { … } } }