curl --request GET \
--url https://api.hubapi.com/marketing/campaigns/2026-03/{campaignGuid}/reports/contacts/{contactType} \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>"
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
}
}
}Fetch the list of contact IDs for the specified campaign and contact type. This endpoint allows you to retrieve contact identifiers associated with a particular campaign, filtered by the type of contact. It is useful for analyzing or processing contacts involved in specific marketing campaigns.
curl --request GET \
--url https://api.hubapi.com/marketing/campaigns/2026-03/{campaignGuid}/reports/contacts/{contactType} \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<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 unique identifier of the campaign.
The type of contact to filter the list.
The paging cursor token of the last successfully read resource, used for pagination.
The end date for filtering contacts, formatted as a string.
The maximum number of results to display per page.
The start date for filtering contacts, formatted as a string.
Was this page helpful?