---
title: "Get upload URL for component"
method: GET
path: "/api/v0/components/{component_id}/upload-url"
tags: ["Components"]
---

# Get upload URL for component

`GET /api/v0/components/{component_id}/upload-url`

Returns a presigned URL for uploading the component image directly to storage. Use this after creating an empty component (POST without image).

## Path parameters

- `component_id` string, required

## Response `200`

Successful Response

- ComponentUploadUrlResponse — Response containing a presigned upload URL for direct S3 upload.
  - `url` string, required — The presigned upload URL

## Other responses

- `422` — Validation Error

---

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