GET
/
email
/
public
/
v1
/
campaigns
Get campaign IDs with recent activity for an account
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/campaigns \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "offset": "<string>",
  "campaigns": [
    {
      "id": 123,
      "appId": 123,
      "appName": "<string>",
      "lastUpdatedTime": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

offset
string

A key representing which page of results you would like

limit
integer

Limit the maximum number of results you would like returned.

Response

200
application/json

Recent campaign IDs retrieved successfully

The response is of type object.