メインコンテンツへスキップ
GET
/
email
/
public
/
v1
/
campaigns
/
by-id
Get all campaign IDs for an account
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/campaigns/by-id
{
  "hasMore": true,
  "offset": "<string>",
  "campaigns": [
    {
      "id": 123,
      "appId": 123,
      "appName": "<string>"
    }
  ]
}

クエリパラメータ

offset
string

A key representing which page of results you would like

limit
integer

Limit the maximum number of results you would like returned.

レスポンス

Campaign IDs retrieved successfully

hasMore
boolean
必須

Whether there are more results available

offset
string
必須

Offset token for pagination

campaigns
object[]
必須
Last modified on April 14, 2026