---
title: "Create a component asset"
method: POST
path: "/v1/components/{component_id}/assets"
tags: ["Components"]
---

# Create a component asset

`POST /v1/components/{component_id}/assets`

Uploads a new file asset to the component identified by `component_id`. Supply asset metadata in the `asset` form field and file content in the `file` form field.

## Path parameters

- `component_id` string, required

## Response `200`

Successful response

- ComponentAssetResponse
  - `description` string
  - `filename` string
  - `id` string
  - `name` string
  - `tags` string[]

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `415` — Unsupported Media Type
- `429` — Too Many Requests

---

[API](https://skmtc.net/extole/apis/integration-api-server-to-extole.md) · [All operations](https://skmtc.net/extole/apis/integration-api-server-to-extole/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extole/integration-api-server-to-extole/revisions/c16e62e66755/schema)
