---
title: "Get requested file access from its id"
method: GET
path: "/2/drive/{drive_id}/access/requests/{request_id}"
tags: ["Drive > Files > File/Directory > Access > Request"]
---

# Get requested file access from its id

`GET /2/drive/{drive_id}/access/requests/{request_id}`

Show a given requested file access

## Path parameters

- `drive_id` integer, required
- `request_id` integer, required

## Query parameters

- `with` string

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 91ac10ffSanitizedFileAccessRequest
    - `id` integer, required — ID of the request
    - `status` string, required — Status of the request
    - `message` string, required — Message to provide to the validator
    - `user_id` integer, required — ID of the user requesting access to the file
    - `validated_by` integer, required — ID of the user whom validate the request
    - `file_id` integer, required — ID of the file the user request access to
    - `validated_at` integer, required — Date of the request's validation
    - `created_at` integer, required — Date of the request's creation
    - `expired_at` integer, required — Date of the request's expiration

## Other responses

- `403` — Forbidden
- `503` — Service Unavailable

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
