v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Packs

Register Pack version

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.

post/packs/{packId}/versions/{packVersion}/register

Path parameters

packIdinteger required

ID of a Pack

packVersionstring required

Semantic version of a Pack

Request body

bundleHashstring required

The SHA-256 hash of the file to be uploaded.

Example request

{
  "bundleHash": "f0e4c2f76c58916ec258f246851bea091d14d4247a2fc3e18694461b1816e13b"
}

Response

The information indicating where to upload the Pack version definition.

uploadUrlstring required

A URL to be used for uploading a Pack version definition.

headersobject required

Key-value pairs of authorization headers to include in the upload request.

Example response

{
  "uploadUrl": "https://coda-us-west-2-prod-packs-upload.s3.amazonaws.com/packs/123/versions/1.0.0"
}