Skip to content

Retrieve a resource request sequence

Request

OAuth 2.0 scope:
  • okta.accessRequests.condition.read
Admin roles:
  • ACCESS_REQUESTS_ADMIN

Retrieves an access request sequence that's referenced by a resource ID and a sequence ID

Note: The request sequence is known as the approval sequence in the Okta Access Requests app.

Path
resourceIdstringrequired

Unique identifier for the resource in Okta instance ID format or ORN format

sequenceIdstring, (sequence-id), = 24 characters(sequence-id)^[a-fA-F\d]{24}$required

The id of the sequence

Example:673b6e662088ea0006d10ff3
curl -i -X GET \
  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-sequences/673b6e662088ea0006d10ff3'

Responses

A successful request sequence get response

Headers
X-Rate-Limit-Limitinteger, >= 1required

The rate-limit ceiling for the current request

Example:60
X-Rate-Limit-Remaininginteger, >= 0required

The number of requests left for the current rate-limit window

Example:60
X-Rate-Limit-Resetinteger, >= 0required

The time when the rate limit resets, specified in UTC epoch time (in seconds)

Example:1609459200
Bodyapplication/json
idstringrequired

Unique idenfitifer of the request sequence

namestringrequired

Name of the request sequence

descriptionstringrequired

Description of the request sequence

compatibleResourceTypesArray of strings
Response

Access request sequence that are returned from a get call by sequence id

{ "id": "61eb0f06c462d20007f051ac", "name": "No approver sequence", "description": "No approvers needed", "compatibleResourceTypes": [ "APP", "GROUP" ], "link": "https://subdomain.okta.at.com/next/sequences/61eb0f06c462d20007f051ac" }