curl --request PUT \
--url https://api.hubapi.com/marketing/campaigns/2026-03/{campaignGuid}/assets/{assetType}/{assetId} \
--header 'Authorization: Bearer <token>'This response has no body data.Associate an asset with a specific campaign in your HubSpot account. This operation allows you to link an asset of a specified type and ID to a campaign, facilitating better organization and tracking of campaign resources.
curl --request PUT \
--url https://api.hubapi.com/marketing/campaigns/2026-03/{campaignGuid}/assets/{assetType}/{assetId} \
--header 'Authorization: Bearer <token>'This response has no body data.Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier of the asset to be associated with the campaign.
The type of asset to be associated with the campaign.
The unique identifier of the campaign to which the asset will be associated.
Was this page helpful?