---
title: "Generate image upload presigned url."
method: POST
path: "/image-upload-url"
tags: ["Image uploading"]
---

# Generate image upload presigned url.

`POST /image-upload-url`

## Request body

- object
  - `contentType` string, required — Image file content type.

## Response `200`

OK.

- object
  - `imageId` string — Image identifier. This value has to be attached to goods entity, see `/goods` methods
  - `headers` object — Headers to include when uploading the image.
    - `Content-Type` string[] — Array of allowed content-types
  - `url` string — Presigned upload url.
  - `method` string — Http method name.
  - `expires` number — Expiration time in epoch milliseconds.

---

[API](https://skmtc.dev/uds/apis/uds-api.md) · [All operations](https://skmtc.dev/uds/apis/uds-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uds/uds-api/revisions/6fbbbc79e671/schema)
