curl --request POST \
--url https://api.hubapi.com/webhooks/v3/{appId}/subscriptions/batch/update \
--header 'Authorization: Bearer <token>' \
--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"
}指定されたアプリのイベント配信登録をバッチ作成します。
curl --request POST \
--url https://api.hubapi.com/webhooks/v3/{appId}/subscriptions/batch/update \
--header 'Authorization: Bearer <token>' \
--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"
}Supported products
The access token received from the authorization server in the OAuth 2.0 flow.
ターゲットアプリのID。
Updated details for the specified subscriptions.
Show child attributes
successful operation
バッチ処理が完了した日時。
バッチ処理の結果のリスト。
Show child attributes
バッチ処理が開始された日時。
バッチ処理の現在のステータス(保留中、処理中、キャンセル済み、または完了)。
CANCELED, COMPLETE, PENDING, PROCESSING バッチ処理に関連付けられた関連リンクのコレクション。
Show child attributes
バッチ処理が要求された日時。