Passer au contenu principal
POST
/
integrators
/
timeline
/
v3
/
events
/
batch
/
create
Créer plusieurs événements
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>",
      "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"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.fr/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Autorisations

Authorization
string
header
requis

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

Corps

application/json
inputs
object[]
requis

Une collection d'événements de la chronologie que nous voulons créer.

Réponse

successful operation

completedAt
string<date-time>
requis

L'heure à laquelle la demande a été complétée.

results
object[]
requis

Événements correctement créés.

startedAt
string<date-time>
requis

L'heure à laquelle la demande a commencé à être traitée.

status
enum<string>
requis

Le statut de la réponse en lot. Doit toujours être TERMINÉ si traitée.

Options disponibles:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Tout lien vers la documentation.

requestedAt
string<date-time>

L'heure à laquelle la demande a été produite.

Last modified on April 13, 2026