Upload an image
POST/v5/media/images/uploads
Uploads an image to a given space (company or workspace).The image will be processed asynchronously, and the response will contain the image metadata, including its status. If an identical image already exists in the space (based on content hash), the API will return a 200 response with the existing image metadata instead of creating a new one. The maximum allowed file size is 20 MB. Supported MIME types are: image/jpeg, image/png, image/gif, image/webp, image/svg+xml. Images get in a post process flow to generate different sizes and formats for different use cases. The original image will be kept as is, but the processing may take some time. The status of the image will be updated accordingly.
Request
Responses
- 200
- 202
- 400
- 403
- 413
- 415
An identical image already exists in this space (content-hash dedup) — returned immediately instead of creating a new one
Accepted — new image created, processing started asynchronously
Validation error
Forbidden (MARKEE-API authorization check failed)
Payload too large (> 20 MB)
Unsupported MIME type