Get Access Request
Get an access request by ID. Add expand=tasks for the tasks on it that you can see, or expand=custom_fields for the requester’s answers to the app’s intake fields.
Unless you can read every access request in your organization, you can read only the requests you made, the ones made for you, and the ones waiting on your approval. Once a request no longer waits on you, you can’t read it. Any other ID returns 404, the same as one that doesn’t exist.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The access request's ID, which GET /v1/access-requests returns as id.
Query Parameters
Fields to expand. Supported values: tasks, custom_fields.
Response
Successful Response
The ID of the access request.
The ID of the app the request is for.
The name of the app the request is for.
The user the request is for.
The current status of the request.
pending, pending-manager-approval, manager-approved, manager-denied, pending-approval, approved, denied, expired, cancelled, pending-provisioning, pending-manual-provisioning, denied-provisioning, provisioned, pending-deprovisioning, pending-manual-deprovisioning, time-based-expired, completed, reverting, reverted, time-based-expired-failed, time-based-expired-cancelled The user who requested access. It's possible for one user to request access on another's behalf. None for system-initiated requests, such as automated onboarding policies, that have no human requester.
The last approver, other than a manager, who approved or denied this request. None until such an approver acts.
The reason the user wrote for putting the access request into the given state, keyed by that status.
For time-based access, when the granted access is removed. None for permanent requests.
For time-based access requests, the number of seconds after provisioning at which access should be removed. None for permanent requests.
When the request was made.
The entitlements requested.
The tasks on this request that the caller can see. Only returned with expand=tasks.
The requester's answers to the app's custom intake fields. Only returned with expand=custom_fields.