GET
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
assets
/
{assetType}
List assets
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/assets/{assetType} \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "name": "<string>",
      "id": "<string>",
      "metrics": {}
    }
  ]
}
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.read

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 to fetch.

Query Parameters

after
string

A cursor for pagination. If provided, the results will start after the given cursor. Example: NTI1Cg%3D%3D

limit
string

The maximum number of results to return. Default: 10

startDate
string

Start date to fetch asset metrics, formatted as YYYY-MM-DD. This date is used to fetch the metrics associated with the assets for a specified period. If not provided, no asset metrics will be fetched.

endDate
string

End date to fetch asset metrics, formatted as YYYY-MM-DD. This date is used to fetch the metrics associated with the assets for a specified period. If not provided, no asset metrics will be fetched.

Response

200
application/json

successful operation

The response is of type object.