---
title: "get the source code for a Pack version."
method: GET
path: "/packs/{packId}/versions/{packVersion}/sourceCode"
tags: ["Packs"]
---

# get the source code for a Pack version.

`GET /packs/{packId}/versions/{packVersion}/sourceCode`

Get temporary links used to download the source code for the given packId and version

## Path parameters

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

## Response `200`

The source code associated with the given packId/version

- PackSourceCodeInfo — Information indicating where to upload the Pack source code, and an endpoint to mark the upload as complete.
  - `files` PackSourceCode[], required
    - `filename` string, required — name of the file
    - `url` string, required — The URL to download the source code from

## 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)
