Create Opportunity File (stream)
Upload a file to an opportunity using multipart/form-data
Note: The /requests path is an alias for /opportunities and will continue to work until users are individually notified and migrated.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
opportunityId
Query parameters
name
Optional file name to store
content_type
Optional MIME type to associate with the file
phase_instance_id
Optional phase instance id to associate with the file
Request
This endpoint expects a multipart form containing a file.
file
Response
Successful response
id
File identifier
name
File name
downloadUrl
URL to download the file
type
File type
updatedAt
Last update timestamp
createdAt
Creation timestamp
metaData
source
File source (e.g., INTERNAL)
createdByUser
isArchived
Whether the file is archived
