Get a contract file by ID

Use this endpoint to retrieve a specific contract file by its ID.

Path Params
integer
required

The unique ID of the contract.

integer
required

The ID of a file.

Query Params
boolean

If set to true, the file will be downloaded. The default value is false; in this case, only the file metadata will be returned.

string
length between 1 and 255

If specified, the downloaded file will have this name. This parameter supports unicode.

Headers
string
required
length between 40 and 40

The API key of your Oneflow account.

Responses

302

A redirect to the requested contract file.

400

Invalid format or content of the request.

401

The API token or the user email is invalid.

404

A required entity is missing.

Language
URL
Response
Choose an example:
application/json