PUT
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
assets
/
{assetType}
/
{assetId}
Add asset association
curl --request PUT \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/assets/{assetType}/{assetId} \
  --header 'Authorization: Bearer <token>'
This response has no body data.
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubProfessional
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Required Scopes

This API requires one of the following scopes:
  • marketing.campaigns.write

Authorizations

Authorization
string
header
required

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

Path Parameters

campaignGuid
string
required

Unique identifier for the campaign, formatted as a UUID

assetType
string
required

The type of asset Important: Currently, only the following asset types are available for association via the API: FORM, OBJECT_LIST, EXTERNAL_WEB_URL

assetId
string
required

Id of the asset