Download a file

Returns downloadable content access for a file in the specified teamsite. Use this endpoint when a client needs either a direct redirect to the file stream (redirect=true) or a response body that contains a temporary download URL (redirect=false) for controlled retrieval workflows.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the teamsite context for the request. Depending on API behavior, it may be a GUID-formatted value or a documented special value such as 1.

uuid
required

Identifier of the library content item targeted by the operation. For file-specific endpoints, this must identify file content and not other content types.

Query Params
boolean
Defaults to false

Optional flag that controls response mode. When true, the endpoint responds with 302 and returns the temporary download link in the Location header. When false (default), the endpoint responds with 200 and returns a temporary download URL in the response body.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain