メインコンテンツへスキップ
POST
/
webhooks
/
2026-03
/
{appId}
/
subscriptions
/
batch
/
update
イベント配信登録をバッチ作成
curl --request POST \
  --url https://api.hubapi.com/webhooks/2026-03/{appId}/subscriptions/batch/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "active": true,
      "id": 123
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "active": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "eventType": "company.associationChange",
      "id": "<string>",
      "eventTypeName": "<string>",
      "objectTypeId": "<string>",
      "propertyName": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "links": {},
  "requestedAt": "2023-11-07T05:31:56Z"
}

Supported products

承認

Authorization
string
header
必須

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

パスパラメータ

appId
integer<int32>
必須

ターゲットアプリのID。

ボディ

application/json
inputs
object[]
必須

レスポンス

successful operation

completedAt
string<date-time>
必須

バッチ処理が完了した日時。

results
object[]
必須

バッチ処理の結果のリスト。

startedAt
string<date-time>
必須

バッチ処理が開始された日時。

status
enum<string>
必須

バッチ処理の現在のステータス(PENDING、PROCESSING、CANCELED、COMPLETEを取り得る)。

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

バッチ処理に関連付けられた関連リンクのコレクション。

requestedAt
string<date-time>

バッチ処理が要求された日時。

Last modified on April 13, 2026