Zum Hauptinhalt springen
GET
/
marketing
/
v3
/
marketing-events
/
{objectId}
Marketingevent nach objectId abrufen
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/marketing-events/{objectId} \
  --header 'Authorization: Bearer <token>'
{
  "registrants": 123,
  "eventOrganizer": "<string>",
  "eventUrl": "<string>",
  "attendees": 123,
  "appInfo": {
    "name": "<string>",
    "id": "<string>"
  },
  "eventType": "<string>",
  "eventCompleted": true,
  "endDateTime": "2023-11-07T05:31:56Z",
  "noShows": 123,
  "cancellations": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "startDateTime": "2023-11-07T05:31:56Z",
  "customProperties": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "eventCancelled": true,
  "externalEventId": "<string>",
  "eventStatus": "<string>",
  "eventDescription": "<string>",
  "eventName": "<string>",
  "objectId": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Starter
Diese API erfordert einen der folgenden Bereiche:
crm.objects.marketing_events.read

Authorizations

Authorization
string
header
required

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

Path Parameters

objectId
string
required

Die interne ID des Marketingevents in HubSpot

Response

successful operation

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