Pular para o conteúdo principal
POST
/
integrators
/
timeline
/
v3
/
events
/
batch
/
create
Criar vários eventos
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://br.developers.hubspot.com/docs/llms.txt

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

Supported products

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
inputs
object[]
obrigatório

Uma coleção de eventos de linha do tempo que queremos criar.

Resposta

successful operation

completedAt
string<date-time>
obrigatório

O momento em que a solicitação foi concluída.

results
object[]
obrigatório

Eventos criados com sucesso.

startedAt
string<date-time>
obrigatório

O momento em que a solicitação começou a ser processada.

status
enum<string>
obrigatório

O status da resposta em lote. Deve sempre ser COMPLETED se processado.

Opções disponíveis:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Links para a documentação.

requestedAt
string<date-time>

O momento em que a solicitação ocorreu.

Last modified on April 13, 2026