Pular para o conteúdo principal
GET
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
Baixe um arquivo
curl --request GET \
  --url https://api.hubapi.com/cms/v3/source-code/{environment}/content/{path} \
  --header 'Authorization: Bearer <token>'
"<string>"

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Starter

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

environment
string
obrigatório

O ambiente do arquivo (rascunho ou publicado).

path
string
obrigatório

A localização do sistema de arquivos do arquivo.

Resposta

File content retrieved successfully

The response is of type file.

Last modified on January 26, 2026