Upload an attachment for an opportunity

Uploads a file attachment for this opportunity.

File content is base64-encoded in the JSON request body (contentBase64) rather than multipart/form-data, keeping this a uniformly JSON API.

Authentication

X-Brightmove-Company-ApiKeystring
BrightMove Company Api Key
X-Brightmove-User-ApiKeystring
BrightMove User Api Key

Path parameters

guidstringRequired
Stable public identifier of the opportunity

Request

This endpoint expects an object.
filenamestringRequired
File name, including extension.
contentBase64stringRequired

Base64-encoded file content.

descriptionstringOptional
Description of the attachment. Defaults to the file name when omitted.

Response

Attachment uploaded