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_id
deal_id
image_name
Request
This endpoint expects a multipart form containing a file.
file
Response
Successful Response
image_name
size
content_type

