Upload File

Upload a file for a specific group and deal. Creates a file entry as well as uploads its contents. NOTE: Uploads are limited to {MAX_FILE_SIZE // 1024 // 1024 // 1024}GB. For larger file uploads use the signed-url upload endpoint.

Path parameters

group_idintegerRequired
deal_idintegerRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
filestringRequiredformat: "binary"
The file to upload
namestringRequired>=1 character<=2048 characters
Name of the file including extension
typeenumRequired

Type/category of the file

Response

Successful Response
namestring

The human-readable name of the file

idinteger
typeenum or null
The type of the file
created_atdatetime or null
updated_atdatetime or null
is_archivedboolean or null
deal_idinteger or null

Errors