---
title: "Allow external applications"
method: POST
path: "/2/drive/{drive_id}/files/{file_id}/access/applications"
tags: ["Drive > Files > File/Directory > Access"]
---

# Allow external applications

`POST /2/drive/{drive_id}/files/{file_id}/access/applications`

Get access for an external application

## Path parameters

- `drive_id` integer, required
- `file_id` integer, required

## Request body

- object
  - `mode` 'edit' | 'view' — Asked mode to open the external wopi documents.<note><strong>edit</strong>: Open with the edit mode.</note><note><strong>view</strong>: Open with the view mode.</note>
  - `type` '365' | 'collabora', required — List of applications.<note><strong>365</strong>: The 365 application.</note><note><strong>collabora</strong>: The collabora application.</note>

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 91ac10ffFeedbackaccessresourceC3fdaa7f — unresolved $ref

## 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)
