Basic
Download a file
Changed onDownloads the byte contents of the file at the specified path in the specified environment.
get/cms/source-code/2026-03/{environment}/content/{path}
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/source-code/2026-03/{environment}/content/{path}
- Auth
- HTTP bearer
- or API key in query parameter hapikey
- or none
Path parameters
environmentstring required
pathstring required
Response
An error occurred.
Example response
{
"category": "VALIDATION_ERROR",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
},
"message": "Invalid input (details will vary based on the error)"
}Changes
- info
api operation id
get-/cms/source-code/2026-03/{environment}/content/{path}_downloadremoved and replaced withget-/cms/source-code/2026-03/{environment}/content/{path}
- info
- info
api tag
Basicadded - info
api tag
Contentremoved
- info
Some revisions have not been checked yet.