Zum Hauptinhalt springen
GET
/
marketing
/
v3
/
marketing-events
/
{objectId}
objectId別にマーケティングイベントを取得
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/marketing-events/{objectId} \
  --header 'private-app: <api-key>'
{
  "appInfo": {
    "id": "<string>",
    "name": "<string>"
  },
  "attendees": 123,
  "cancellations": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "customProperties": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "endDateTime": "2023-11-07T05:31:56Z",
  "eventCancelled": true,
  "eventCompleted": true,
  "eventDescription": "<string>",
  "eventName": "<string>",
  "eventOrganizer": "<string>",
  "eventStatus": "<string>",
  "eventType": "<string>",
  "eventUrl": "<string>",
  "externalEventId": "<string>",
  "noShows": 123,
  "objectId": "<string>",
  "registrants": 123,
  "startDateTime": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Starter
この API には、次のいずれかのスコープが必要です。
crm.objects.marketing_events.read

Authorizations

private-app
string
header
required

Path Parameters

objectId
string
required

HubSpotのマーケティングイベントの内部ID

Response

successful operation

createdAt
string<date-time>
required
customProperties
object[]
required
eventName
string
required
objectId
string
required
updatedAt
string<date-time>
required
appInfo
object
attendees
integer
cancellations
integer
endDateTime
string<date-time>
eventCancelled
boolean
eventCompleted
boolean
eventDescription
string
eventOrganizer
string
eventStatus
string
eventType
string
eventUrl
string
externalEventId
string
noShows
integer
registrants
integer
startDateTime
string<date-time>