Upload File

Use this API to upload a file up to 64MB to the OneTrust Platform. The response will include the Id and FileName parameters, which can be used to attach the file to a product within the platform.

πŸ—’

Things to Know

  • The extension of the uploaded file must be in one of the supported file formats. For more information, see Using the Document Repository.
  • The attachment parameter below includes the following information:
    • Parameters & Descriptions contains details on the list of parameters and expected parameter values. This should be used for reference only.
    • Attachment JSON Object contains the required format in which the parameters and parameter values must be sent in the request.
Body Params
attachment
required

The details of the file.

file
required

The file to upload to the OneTrust Platform. The file must be 64MB or less.

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 1 required scope
URL
Response
Choose an example:
application/json
*/*