Zum Hauptinhalt springen
PUT
/
webhooks
/
v3
/
{appId}
/
settings
Webhook設定を更新
curl --request PUT \
  --url https://api.hubapi.com/webhooks/v3/{appId}/settings \
  --header 'Content-Type: application/json' \
  --data '{
  "targetUrl": "https://www.example.com/hubspot/target",
  "throttling": {
    "maxConcurrentRequests": 10,
    "period": "SECONDLY"
  }
}'
{
  "targetUrl": "https://www.example.com/hubspot/target",
  "throttling": {
    "maxConcurrentRequests": 10,
    "period": "SECONDLY"
  },
  "createdAt": "2020-01-24T16:27:59Z",
  "updatedAt": "2020-01-24T16:32:43Z"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent HubStarter

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer
required

アプリのID。

Body

application/json

New or updated webhook settings for an app.

throttling
object
required

Configuration details for webhook throttling.

targetUrl
string
required

イベントペイロードが配信される、コールするHubSpotの一般公開されているURL。

Example:

"https://www.example.com/hubspot/target"

Response

successful operation

Webhook settings for an app.

createdAt
string<date-time>
required

この配信登録が作成された日時。[Unixエポック](#)からのミリ秒数の形式になります。

Example:

"2020-01-24T16:27:59.000+00:00"

throttling
object
required

Configuration details for webhook throttling.

targetUrl
string
required

イベントペイロードが配信される、コールするHubSpotの一般公開されているURL。これらのイベントペイロードの形式の詳細については、[link-so-some-doc](#)を参照してください。

Example:

"https://www.example.com/hubspot/target"

updatedAt
string<date-time>

この配信登録が最後に更新された日時。[Unixエポック](#)からのミリ秒数の形式になります。

Example:

"2020-01-24T16:32:43.000+00:00"

I