Upload Inline Image

Upload an inline image for use in deal content (e.g., Lexical editor). This endpoint: - Validates the file is an image (jpeg, png, gif, webp) - Enforces a 10MB size limit - Stores the image in GCS - Returns confirmation of the image name The image is stored separately from deal files and does not appear in the deal files list. The frontend provides the image_name and can use the GET endpoint to retrieve it.

Authentication

AuthorizationBearer

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

Path parameters

group_idintegerRequired
deal_idintegerRequired
image_namestringRequired

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

Successful Response
image_namestring
sizeinteger
content_typestring

Errors