---
title: "Register Pack version"
method: POST
path: "/packs/{packId}/versions/{packVersion}/register"
tags: ["Packs"]
---

# Register Pack version

`POST /packs/{packId}/versions/{packVersion}/register`

Registers a new Pack version. This simply returns a signed URL to use for uploading the Pack version definition. Following the completion of the upload, POST to /apis/v1/packs/{packId}/versions/{packVersion} trigger the rest of the creation process.

## Path parameters

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

## Request body

- RegisterPackVersionRequest — Payload for registering a Pack version.
  - `bundleHash` string, required — The SHA-256 hash of the file to be uploaded.

## Response `200`

The information indicating where to upload the Pack version definition.

- PackVersionUploadInfo — Information indicating where to upload the Pack version definition.
  - `uploadUrl` string, required — A URL to be used for uploading a Pack version definition.
  - `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/revisions/c65a8418f3c8/schema)
