v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Packs

Upload a Pack asset.

Request a signed s3 URL to upload your Pack asset.

post/packs/{packId}/uploadAsset

Path parameters

packIdinteger required

ID of a Pack

Request body

packAssetType'logo' | 'cover' | 'exampleImage' | 'agentImage' required
imageHashstring required

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

mimeTypestring required

The media type of the image being sent.

filenamestring required

Example request

{
  "imageHash": "f0e4c2f76c58916ec258f246851bea091d14d4247a2fc3e18694461b1816e13b",
  "mimeType": "image/jpeg",
  "filename": "image.jpg"
}

Response

The information indicating where to upload the Pack asset.

uploadUrlstring url required

A signed URL to be used for uploading a Pack asset.

packAssetUploadedPathNamestring required

An endpoint to mark the upload as complete.

headersobject required

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

Example response

{
  "uploadUrl": "https://coda-us-west-2-prod-blobs-upload.s3-accelerate.amazonaws.com/packs/123/assets/logo/e23fcb5e564f08b71183d424c2c380c0",
  "packAssetUploadedPathName": "/packs/123/assets/e23fcb5e564f08b71183d424c2c380c0"
}