---
title: "Get upload part URL"
method: POST
path: "/preview/v2/images/{id}/parts"
tags: ["Images"]
---

# Get upload part URL

`POST /preview/v2/images/{id}/parts`

> ⚠️ This endpoint is in [public preview](/preview/roadmap).

Get a presigned URL to upload one part of a multipart image upload.

## Path parameters

- `id` string, required — A resource path like 'sfc:image:acme:prod:my-image' _or_ an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

## Request body

- UploadPartRequest
  - `part_id` integer, required — Caller-assigned part number, starting at 1.

## Response `200`

Upload URL generated

- UploadPartResponse
  - `url` string, required — Presigned URL to upload the part.
  - `expires_at` integer, required — Unix timestamp.

## Other responses

- `400` — Validation failed
- `401` — Unauthorized request
- `403` — Forbidden
- `404` — Image not found
- `500` — Internal server error

---

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