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

Authorizations

Authorization
string
header
required

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

Path Parameters

environment
string
required

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

path
string
required

Der Dateisystem-Speicherort der Datei.

Response

File content retrieved successfully

The response is of type file.