Skip to main content
GET
Retrieve an App Access Request

Authorizations

Authorization
string
header
required

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

Path Parameters

uid
string
required

The UID of the App Access Request

Query Parameters

expand[]
enum<string>[]

Fields to expand into full objects.

Available options:
application,
role,
request,
requester,
initiator,
approvals

Response

Successful

uid
string
read-only

The UID of the App Access Request

status
enum<string>

incomplete, waiting_approval, waiting_provisioning and waiting_deprovisioning are open; every other status is final

Available options:
cancelled,
deprovisioned,
expired,
failed,
incomplete,
provisioned,
rejected,
waiting_approval,
waiting_deprovisioning,
waiting_provisioning
can_approve
boolean

Whether the API key owner has an approval to submit on this request right now, i.e. whether approve and reject would be accepted

application

The application access is requested for. Pass ?expand[]=field_name for full object.

role

The App Access Role requested, null when none was picked. Pass ?expand[]=field_name for full object.

app_access_role_uid
string | null

The UID of the App Access Role requested

app_access_role_name
string | null

The name of the App Access Role requested

request

The Request (ticket) the App Access Request belongs to. Stays a UID when the API key owner cannot access that Request. Pass ?expand[]=field_name for full object.

requester

The employee the access is for. Pass ?expand[]=field_name for full object.

initiator

Who started the App Access Request, e.g. an admin acting on behalf of the requester. Pass ?expand[]=field_name for full object.

approvals

The approvals of the request, oldest first. Pass ?expand[]=field_name for full objects.

business_reason_markdown
string | null

Why the requester needs access, in Markdown

duration_minutes
integer | null

Requested access duration in minutes, null for permanent access

duration_unit
enum<string> | null

Display unit of duration_minutes

Available options:
days,
hours,
minutes,
months,
weeks
failure_reason
string | null

Why provisioning or deprovisioning failed, when it did

failure_reason_key
string | null

Machine-readable key of failure_reason

submitted_at
string<date-time> | null
read-only

When the requester submitted the request, formatted as ISO 8601

rejected_at
string<date-time> | null
read-only

When the request was rejected, formatted as ISO 8601

cancelled_at
string<date-time> | null
read-only

When the request was cancelled, formatted as ISO 8601

expired_at
string<date-time> | null
read-only

When the request expired, formatted as ISO 8601

failed_at
string<date-time> | null
read-only

When provisioning or deprovisioning failed, formatted as ISO 8601

provisioning_started_at
string<date-time> | null
read-only

When provisioning started, formatted as ISO 8601

provisioning_completed_at
string<date-time> | null
read-only

When access was granted, formatted as ISO 8601

deprovisioning_due_at
string<date-time> | null
read-only

When access is due to be revoked, formatted as ISO 8601

deprovisioning_started_at
string<date-time> | null
read-only

When deprovisioning started, formatted as ISO 8601

deprovisioning_completed_at
string<date-time> | null
read-only

When access was revoked, formatted as ISO 8601

created_at
string<date-time>
read-only

Creation date, formatted as ISO 8601

updated_at
string<date-time>
read-only

Last update date, formatted as ISO 8601