Workspace Items

Gets a workspace file

GET
/v2.1/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}

This method returns a binary version of a file in a workspace.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

fileId*string

The ID of the file.

folderId*string

The ID of the folder.

workspaceId*string

The ID of the workspace.

Query Parameters

is_download?string

When true, the Content-Disposition header is set in the response. The value of the header provides the filename of the file. The default is false.

pdf_version?string

When true the file is returned in PDF format.

Response Body

application/json

curl -X GET "https://example.com/v2.1/accounts/string/workspaces/string/folders/string/files/string"
Empty