Download a file using the specified file path and file name

Retrieves a file from the file store and returns it as a downloadable response.
It handles the following:

  • URL decoding of the file path to support special characters
  • Determining the appropriate content type based on file extension
  • Setting response headers including content length and modified date
  • Adding file path information for client reference

If the requested file is not found, it returns a 404 Not Found response.

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

The name of the file to be downloaded, with or without extension.

string
required

The path where the file is stored (e.g. CLM, cpq-cart-{path}, cpq/cart/{path}).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

Content of the file

400

Bad Request

403

Forbidden

503

Service Temporarily Unavailable

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