メインコンテンツへスキップ
POST
/
webhooks
/
v3
/
{appId}
/
subscriptions
/
batch
/
update
イベント配信登録をバッチ作成
curl --request POST \
  --url 'https://api.hubapi.com/webhooks/v3/{appId}/subscriptions/batch/update?hapikey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "active": true,
      "id": 12
    }
  ]
}
'
{
  "completedAt": "2020-04-17T02:19:26.283Z",
  "results": [
    {
      "active": true,
      "createdAt": "2019-06-06T16:56:16.652Z",
      "eventType": "contact.propertyChange",
      "id": "1234",
      "propertyName": "firstname",
      "updatedAt": "2019-08-06T16:56:16.652Z"
    },
    {
      "active": false,
      "createdAt": "2019-06-06T16:56:16.652Z",
      "eventType": "contact.create",
      "id": "4567",
      "updatedAt": "2019-08-06T16:56:16.652Z"
    }
  ],
  "startedAt": "2020-04-17T02:19:26.256Z",
  "status": "COMPLETE"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent HubStarter

承認

hapikey
string
query
必須

パスパラメータ

appId
integer<int32>
必須

ターゲットアプリのID。

ボディ

application/json

Updated details for the specified subscriptions.

inputs
object[]
必須

レスポンス

successful operation

completedAt
string<date-time>
必須

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

results
object[]
必須

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

startedAt
string<date-time>
必須

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

status
enum<string>
必須

バッチ処理の現在のステータス(保留中、処理中、キャンセル済み、または完了)。

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

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

numErrors
integer<int32>
requestedAt
string<date-time>

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

Last modified on January 23, 2026