Get a single file by its ID

Changed on

This endpoint retrieves information about a specific file by its ID.

get/api/v1beta/files/{file_id}

Request

  • The document declares no server URL.
  • Auth: bearer_auth (a scheme the document does not define)

Path parameters

file_idstring required

The ID of the file to retrieve

Response

Successfully retrieved the file

download_urlstring required

Pre-signed URL for downloading the file directly from storage

external_id_ews_idstring

External Exchange Web Services ID for deep linking to the original item.

file_contents_unavailable_missing_permissionsboolean required

Indicates that file contents are unavailable for the current user due to missing permissions.

filenamestring required

The original filename of the uploaded file

idstring required

The unique ID of the uploaded file

is_sharepoint_fileboolean required

Indicates the file is stored in Sharepoint

preview_urlstring nullable

Proxied URL for inline preview without forcing download when available

Changes