GET
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
reports
/
metrics
Get Campaign Metrics
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/reports/metrics \
  --header 'Authorization: Bearer <token>'
{
  "sessions": 123,
  "newContactsFirstTouch": 123,
  "influencedContacts": 123,
  "newContactsLastTouch": 123
}
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.

Query Parameters

startDate
string

The start date for the report data, formatted as YYYY-MM-DD. Default value: 2006-01-01

endDate
string

End date for the report data, formatted as YYYY-MM-DD. Default value: Current date

Response

successful operation

The response is of type object.