Retrieve campaigns
Retrieve a page of marketing campaigns from your HubSpot account. This endpoint allows you to sort, filter, and paginate through campaigns, making it useful for managing and analyzing your marketing efforts.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
A cursor token for pagination. Use the value from the previous response's paging.next.after field.
The maximum number of results to display per page.
A string to filter campaigns by name.
An array of property names to include in the response.
A string to specify the sorting order of the results.
Response
successful operation
An array of PublicCampaign objects, each representing a campaign with its associated details.
An integer representing the total number of campaigns available.
Represents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.