Upload a file
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Request
This endpoint expects a multipart form containing a file.
companyId
contactId
dealId
file
File data to create a file.
Response
Returns the created File with additional details
companyId
Company id linked to a file
contactId
Contact id of contact on which file is uploaded
createdAt
File created date/time
dealId
Deal id linked to a file
name
Name of uploaded file
size
Size of file in bytes