Zum Hauptinhalt springen
GET
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
Datei herunterladen
curl --request GET \
  --url https://api.hubapi.com/cms/v3/source-code/{environment}/content/{path} \
  --header 'Authorization: Bearer <token>'
"<string>"

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Starter

Autorisierungen

Authorization
string
header
erforderlich

The access token received from the authorization server in the OAuth 2.0 flow.

Pfadparameter

environment
string
erforderlich

Die Umgebung der Datei („Entwurf“ oder „veröffentlicht“).

path
string
erforderlich

Der Dateisystem-Speicherort der Datei.

Antwort

File content retrieved successfully

The response is of type file.

Last modified on January 26, 2026