GET
/
marketing
/
v3
/
marketing-events
/
Obtenir tous les événements marketing
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/marketing-events/ \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "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"
    }
  ]
}
Produits pris en charge
Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing HubGratuit
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubStarter

Portées requises

Cette API requiert l’une des portées suivantes :
  • crm.objects.marketing_events.read

Authorizations

Authorization
string
header
required

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

Query Parameters

after
string

Le curseur indiquant la position du dernier élément récupéré.

limit
integer
default:10

La limite de taille de la réponse. La valeur par défaut est 10, le nombre maximal est 100.

Response

200
application/json

successful operation

The response is of type object.