---
title: "Upload a Pack asset."
method: POST
path: "/packs/{packId}/uploadAsset"
tags: ["Packs"]
---

# Upload a Pack asset.

`POST /packs/{packId}/uploadAsset`

Request a signed s3 URL to upload your Pack asset.

## Path parameters

- `packId` integer, required

## Request body

- UploadPackAssetRequest — Payload for a Pack asset upload.
  - `packAssetType` 'logo' | 'cover' | 'exampleImage' | 'agentImage', required
  - `imageHash` string, required — The SHA-256 hash of the image to be uploaded.
  - `mimeType` string, required — The media type of the image being sent.
  - `filename` string, required

## Response `200`

The information indicating where to upload the Pack asset.

- PackAssetUploadInfo — Information indicating where to upload the Pack asset, and an endpoint to mark the upload as complete.
  - `uploadUrl` string, url, required — A signed URL to be used for uploading a Pack asset.
  - `packAssetUploadedPathName` string, required — An endpoint to mark the upload as complete.
  - `headers` object, required — Key-value pairs of authorization headers to include in the upload request.

## Other responses

- `400` — The request parameters did not conform to expectations.
- `401` — The API token is invalid or has expired.
- `403` — The API token does not grant access to this resource.
- `404` — The resource could not be located with the current API token.
- `429` — The client has sent too many requests.

---

[API](https://skmtc.net/coda/apis/superhuman-docs-api.md) · [All operations](https://skmtc.net/coda/apis/superhuman-docs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coda/superhuman-docs-api/versions/c65a8418f3c8/schema)
