Okta Access Requests automate the process of requesting access to resources like apps, groups, and entitlement bundles. Each request is associated with a request approval process that determines the actions taken by Okta Access Requests. Manage this process directly with the following request APIs.
See Access Requests for more information on Access Requests and Identity Governance.
Access Requests Administrator
okta.governance.accessRequests.read
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.
after | string <request-id> = 24 characters The after cursor provided by a prior request. |
filter | string <scim-filter> Apply various filters by using supported request filtering properties. Note: Query parameter percent encoding is required. See Percent-encoding Query param: ?filter=requestStatus eq "RESOLVED" filter=requestStatus%20eq%20%22RESOLVED%22Query param: ?filter=lastUpdated gt "2022-05-24T14:15:22Z" filter=lastUpdated%20gt%20%222022-05-24T14%3A15%3A22Z%22Query param: ?filter=requestStatus eq "RESOLVED" AND lastUpdated gt "2022-05-24T14:15:22Z" filter=requestStatus%20eq%20%22RESOLVED%22%20AND%20lastUpdated%20gt%20%222022-05-24T14%3A15%3A22Z%22 |
limit | integer [ 1 .. 200 ] Default: 20 The maximum number of records that will be returned in a given result. |
orderBy | string <order-by> Apply an ordering of requests by specifying a supported request property name with Note: Query parameter percent encoding is required. See Percent-encoding Query param: ?orderBy=created desc orderBy=created%20descQuery param: ?orderBy=lastUpdated desc orderBy=lastUpdated%20desc |
A successful request list response
An invalid request to list requests
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
A List Request response with no filter
{- "data": [
- {
- "id": "61eb06a3c462d20007f0235c",
- "subject": "Tom requests access to Salesforce",
- "requestTypeId": "61eb2db568c7c300079fefd0",
- "requesterUserIds": [
- "00ub0oNGTSWTBKOLGLNR"
], - "created": "2022-05-24T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2022-05-24T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "resolved": "2022-05-24T14:15:22Z",
- "requestStatus": "RESOLVED",
- "type": "ACCESS_REQUEST",
- "_links": {
- "requestType": {
- "type": "application/json"
}, - "self": {
- "type": "application/json"
}
}
}, - {
- "id": "61eb06a3c462d20007f0235c",
- "subject": "request-from-service-now-xsd23432",
- "requestTypeId": "61eb2db568c7c300079fefd0",
- "requesterUserIds": [
- "00ub0oNGTSWTBKOLGLNR"
], - "lastUpdated": "2022-05-05T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "created": "2022-05-05T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "resolved": null,
- "requestStatus": "OPEN",
- "type": "CUSTOM",
- "_links": {
- "requestType": {
- "type": "application/json"
}, - "self": {
- "type": "application/json"
}
}
}
], - "_links": {
}
}
Access Requests Administrator
okta.governance.accessRequests.manage
Creates a request to access a resource in your organization.
When creating a request, you specify:
requestTypeId
) to use for the requestsubject
) of the requestOptionally, you can specify:
API Token
or Access Token
.The writable attributes of a request
A successful create request response
An invalid request to create a request
When authentication fails
When authorization fails
A conflict with the request type prevents the create request operation
When there is a server fault due to an unexpected error
Request access for authenticated user by omitting requesterUserIds
{- "requestTypeId": "08ab2db568c7c300079fefd0",
- "subject": "I need access to Salesforce"
}
Request access for authenticated user by omitting requesterUserIds
{- "id": "61eb06a3c462d20007f0235c",
- "subject": "Tom requests access to Salesforce",
- "requestTypeId": "08ab2db568c7c300079fefd0",
- "created": "2022-05-05T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2022-05-05T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "resolved": null,
- "requestStatus": "OPEN",
- "requesterUserIds": [
- "00ub0oNGTSWTBKOLGLNR"
], - "requesterFieldValues": null,
- "approvals": [
- {
- "status": "PENDING",
- "approvalId": "62f6d63a1764a30007763ad5"
}, - {
- "status": "PENDING",
- "approvalId": "62f6d63a1764a30007763ae2"
}
], - "actions": [
- {
- "status": "PENDING",
- "action": "ASSIGN_APP_TO_USER",
- "actionId": "62f57938cd367b0008eb47c7"
}
], - "type": "ACCESS_REQUEST",
- "_links": {
- "requestType": {
- "type": "application/json"
}, - "self": {
- "type": "application/json"
}
}
}
Access Requests Administrator
okta.governance.accessRequests.read
Retrieves the full representation of a specific request.
More information is returned than the abbreviated representation in a List requests operation.
A successful get request response
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Success response to get a Request
{- "id": "61eb06a3c462d20007f0235c",
- "subject": "request-from-service-now-xsd23432",
- "requestTypeId": "61eb2db568c7c300079fefd0",
- "created": "2022-05-05T14:15:22Z",
- "createdBy": "00ub0oNGTSWTBKOLGLNR",
- "lastUpdated": "2022-05-05T14:15:22Z",
- "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR",
- "resolved": "2022-05-05T14:15:22Z",
- "requestStatus": "RESOLVED",
- "requesterUserIds": [
- "00ub0oNGTSWTBKOLGLNR"
], - "requesterFieldValues": [
- {
- "id": "05c87fe9-11f6-4d40-a033-b155b39dcdbe",
- "prompt": "What is the business justification for the request?",
- "type": "TEXT",
- "value": "I need access to complete a task.",
- "required": true
}
], - "approvals": [
- {
- "status": "COMPLETED",
- "approvalId": "62f6d63a1764a30007763ae2",
- "approverId": "00ub0oNGTSWTBKOLGLNR",
- "approverName": "Becky Raferty",
- "decision": "APPROVED",
- "decided": "2022-06-02T21:36:25.344Z",
- "fieldValues": [
- {
- "id": "ec9da40d-9c1b-41c6-8016-edfd010b02d2",
- "type": "SELECT",
- "prompt": "What is the business justification for the request?",
- "required": true,
- "value": [
- "Curious"
]
}
]
}
], - "actions": [
- {
- "status": "COMPLETED",
- "action": "ASSIGN_APP_TO_USER",
- "actionId": "62f6d63a1764a30007763ad5",
- "actionStatus": "SUCCEEDED",
- "actionAttempted": "2022-06-02T21:36:25.344Z",
- "resourceId": "0oafxqCAJWWGELFTYASJ",
- "resourceName": "Salesforce 01",
- "resourceType": "APP"
}
], - "type": "ACCESS_REQUEST",
- "_links": {
- "requestType": {
- "type": "application/json"
}, - "self": {
- "type": "application/json"
}
}
}
Access Requests Administrator
okta.governance.accessRequests.manage
Creates a message to add context to the request. Message will be authored by the authenticated user and display as "Sent via API".
The writable attributes of a request message
A successful create request message response
When authentication fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Add request message for authenticated user visible to all
{- "message": "Contact admin@atko.com for any additional assistance needed with this request."
}
{- "errorCode": "E0000004",
- "errorSummary": "Authentication failed.",
- "errorLink": "E0000004",
- "errorId": "oaeWCGz73hpRCG75VHP6-RRXw",
- "errorCauses": [ ]
}