curl --request GET \
--url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/assets/{assetType} \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"metrics": {},
"name": "<string>"
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
}
}
}This endpoint lists all assets of the campaign by asset type. The assetType parameter is required, and each request can only fetch assets of a single type. Asset metrics can also be fetched along with the assets; they are available only if start and end dates are provided.
curl --request GET \
--url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/assets/{assetType} \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"metrics": {},
"name": "<string>"
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
}
}
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.
The maximum number of results to display per page.
Was this page helpful?