Skip to main content
GET
Get Access Request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The access request's ID, which GET /v1/access-requests returns as id.

Query Parameters

expand
string[] | null

Fields to expand. Supported values: tasks, custom_fields.

Response

Successful Response

id
string
required

The ID of the access request.

app_id
string
required

The ID of the app the request is for.

app_name
string
required

The name of the app the request is for.

target_user
User · object
required

The user the request is for.

status
enum<string>
required

The current status of the request.

Available options:
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
requester_user
User · object | null

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.

supporter_user
User · object | null

The last approver, other than a manager, who approved or denied this request. None until such an approver acts.

notes
Notes · object

The reason the user wrote for putting the access request into the given state, keyed by that status.

expires_at
string<date-time> | null

For time-based access, when the granted access is removed. None for permanent requests.

expiration_in_seconds
integer | null

For time-based access requests, the number of seconds after provisioning at which access should be removed. None for permanent requests.

requested_at
string<date-time> | null

When the request was made.

entitlements
AccessRequestEntitlement · object[]

The entitlements requested.

tasks
Task · object[] | null

The tasks on this request that the caller can see. Only returned with expand=tasks.

custom_fields
AccessRequestCustomField · object[] | null

The requester's answers to the app's custom intake fields. Only returned with expand=custom_fields.