Basic

Get a page of campaigns

get/marketing/v3/campaigns

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    OAuth 2
    Authorization codehttps://app.hubspot.com/oauth/authorize
    Token URLhttps://api.hubapi.com/oauth/v1/token
    Scopesmarketing.campaigns.read

Query parameters

afterstring

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.

limitinteger

The maximum number of results to display per page.

namestring

Filter campaigns by name. Optional.

propertiesstring[]

A comma-separated list of properties to include in the response. Unrecognized properties are ignored. Optional. Example: hs_name,hs_budget, hs_notes

sortstring

The property to sort results by. Optional.

Response

successful operation

totalinteger required

An integer representing the total number of public campaigns available.

Changes