メインコンテンツへスキップ
POST
/
integrators
/
timeline
/
v3
/
events
/
batch
/
create
複数のイベントを作成
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"
}

サポートされる製品

次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

承認

Authorization
string
header
必須

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

ボディ

application/json
inputs
object[]
必須

作成するタイムラインイベントのコレクション。

レスポンス

successful operation

completedAt
string<date-time>
必須

リクエストが完了した日時。

results
object[]
必須

イベントが正常に作成されました。

startedAt
string<date-time>
必須

リクエストの処理が開始された日時。

status
enum<string>
必須

バッチレスポンスのステータス。処理済みの場合は、必ずCOMPLETEDになります。

利用可能なオプション:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

ドキュメントへの任意のリンク。

requestedAt
string<date-time>

リクエストが行われた日時。

Last modified on February 12, 2026