GET
/
marketing
/
v3
/
marketing-events
/
{objectId}
Obter 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"
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubGrátis
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubStarter

Escopos Necessários

Esta API requer um dos seguintes escopos:
  • 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

O ID interno do evento de marketing no HubSpot

Response

200
application/json

successful operation

The response is of type object.