メインコンテンツへスキップ
GET
/
email
/
public
/
v1
/
campaigns
/
{campaign_id}
Get campaign data for a given campaign
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/campaigns/{campaign_id}
{
  "appId": 123,
  "appName": "<string>",
  "contentId": 123,
  "counters": {
    "delivered": 123,
    "open": 123,
    "processed": 123,
    "sent": 123
  },
  "id": 123,
  "name": "<string>",
  "numIncluded": 123,
  "numQueued": 123,
  "subType": "<string>",
  "subject": "<string>",
  "type": "<string>"
}

パスパラメータ

campaign_id
integer
必須

The Internal HubSpot ID of the email that you want to get the details for.

レスポンス

Campaign data retrieved successfully

appId
integer
必須

The application ID

appName
string
必須

The application name

contentId
integer
必須

The content ID

counters
object
必須
id
integer
必須

The campaign ID

name
string
必須

The campaign name

numIncluded
integer
必須

Number of recipients included

numQueued
integer
必須

Number of recipients queued

subType
string
必須

The campaign sub-type

subject
string
必須

The email subject

type
string
必須

The campaign type

Last modified on April 14, 2026