Zum Hauptinhalt springen
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>"
}

Pfadparameter

campaign_id
integer
erforderlich

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

Antwort

Campaign data retrieved successfully

appId
integer
erforderlich

The application ID

appName
string
erforderlich

The application name

contentId
integer
erforderlich

The content ID

counters
object
erforderlich
id
integer
erforderlich

The campaign ID

name
string
erforderlich

The campaign name

numIncluded
integer
erforderlich

Number of recipients included

numQueued
integer
erforderlich

Number of recipients queued

subType
string
erforderlich

The campaign sub-type

subject
string
erforderlich

The email subject

type
string
erforderlich

The campaign type

Last modified on April 9, 2026