---
title: "Download a file"
method: GET
path: "/cms/source-code/2026-03/{environment}/content/{path}"
tags: ["Basic"]
---

# Download a file

`GET /cms/source-code/2026-03/{environment}/content/{path}`

Downloads the byte contents of the file at the specified path in the specified environment.

## Path parameters

- `environment` string, required
- `path` string, required

## Response `default`

An error occurred.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/versions/f9c7181056c5/schema)
