Skip to main content
GET
/
marketing
/
v3
/
marketing-events
/
{objectId}
Obtener evento de marketing por objectId
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"
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubGratuito
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubStarter

Ámbitos Requeridos

Esta API requiere uno de los siguientes ámbitos:
  • 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

El ID interno del evento de marketing en 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