---
title: "Pack source code upload complete"
method: POST
path: "/packs/{packId}/versions/{packVersion}/sourceCode/uploadComplete"
tags: ["Packs"]
---

# Pack source code upload complete

`POST /packs/{packId}/versions/{packVersion}/sourceCode/uploadComplete`

Note the completion of the upload of a Pack source code.

## Path parameters

- `packId` integer, required
- `packVersion` string, required

## Request body

- PackSourceCodeUploadCompleteRequest — Payload for noting a Pack source code upload is complete.
  - `filename` string, required
  - `codeHash` string, required — A SHA-256 hash of the source code used to identify duplicate uploads.

## Response `200`

Confirmation of successful Pack asset creation.

- PackSourceCodeUploadCompleteResponse — Response for noting a Pack source code upload is complete.
  - `requestId` string, required — An arbitrary unique identifier for this 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/revisions/c65a8418f3c8/schema)
