Skip to main content
POST
Complete Image Upload
After uploading image bytes to the authenticated URL from Create Image Upload URL, register the returned company-scoped key. Completion is idempotent, so retrying the same key returns the existing asset instead of creating a duplicate. The response contains the permanent hosted URL to use as an image block’s src.

Request

string
required
Storage key returned by the upload-url endpoint. It must belong to the authenticated company.
string
required
Hosted image file name.
string
required
Uploaded image MIME type: PNG, JPEG, GIF, or WebP.
number
required
Exact uploaded image size in bytes.
integer
Optional intrinsic image width in pixels.
integer
Optional intrinsic image height in pixels.
string
required
Accessible image description, or an empty string for a decorative image.

Responses