GET/channel-folders/{channelFolderId}/files/{fileId}/download

Downloads a file from channel folder.

Note

  • For how to download content using the API, see Upload or Download Files.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

group.folder
group.folder.read
file
file.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/channel-folders/{channelFolderId}/files/{fileId}/download

Path Parameters

ParameterTypeDescription
channelFolderId string 

orgunit/group/messageroom Folder ID


required
example : @900000014040402 
fileId string 

File ID


required
example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA 

Query Parameters

ParameterTypeDescription
thumbnailType string 

Use this when you need a thumbnail for a file.

  • SMALL: Small thumbnail (supported file types: VIDEO, AUDIO)
  • MEDIUM: Medium-sized thumbnail (supported file types: VIDEO, AUDIO, IMAGE, DOC)
  • LARGE: Large thumbnail (supported file types: IMAGE, DOC)

example : SMALL 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 302

Returns the file access URL in the Location header.