Zum Hauptinhalt springen
POST
/
integrators
/
timeline
/
v3
/
events
/
batch
/
create
Mehrerer Events erstellen
curl --request POST \
  --url https://api.hubapi.com/integrators/timeline/v3/events/batch/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "eventTemplateId": "<string>",
      "id": "<string>",
      "tokens": {},
      "customObjectTypeId": "<string>",
      "domain": "<string>",
      "email": "<string>",
      "extraData": {},
      "objectId": "<string>",
      "timelineIFrame": {
        "headerLabel": "<string>",
        "height": 123,
        "linkLabel": "<string>",
        "url": "<string>",
        "width": 123
      },
      "timestamp": "2023-11-07T05:31:56Z",
      "utk": "<string>"
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "eventTemplateId": "<string>",
      "id": "<string>",
      "objectType": "<string>",
      "tokens": {},
      "createdAt": "2023-11-07T05:31:56Z",
      "customObjectTypeId": "<string>",
      "domain": "<string>",
      "email": "<string>",
      "extraData": {},
      "objectId": "<string>",
      "timelineIFrame": {
        "headerLabel": "<string>",
        "height": 123,
        "linkLabel": "<string>",
        "url": "<string>",
        "width": 123
      },
      "timestamp": "2023-11-07T05:31:56Z",
      "utk": "<string>"
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "links": {},
  "requestedAt": "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 -Kostenlos

Autorisierungen

Authorization
string
header
erforderlich

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

Body

application/json
inputs
object[]
erforderlich

Eine Sammlung mit Chronik-Events, die erstellt werden soll.

Antwort

successful operation

completedAt
string<date-time>
erforderlich

Der Zeitpunkt, an dem die Anfrage abgeschlossen wurde.

results
object[]
erforderlich

Erfolgreich erstellte Events.

startedAt
string<date-time>
erforderlich

Der Zeitpunkt, ab dem die Anfrage bearbeitet wurde.

status
enum<string>
erforderlich

Der Status der Batch-Antwort. Muss bei einer Verarbeitung immer COMPLETED sein.

Verfügbare Optionen:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Jegliche Link zur Dokumentation.

requestedAt
string<date-time>

Der Zeitpunkt der Anfrage.

Last modified on February 12, 2026