Zum Hauptinhalt springen
PUT
/
webhooks
/
v3
/
{appId}
/
settings
Webhook-Einstellungen aktualisieren
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"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent HubStarter

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer
required

Die ID der App.

Body

application/json

New or updated webhook settings for an app.

throttling
object
required

Configuration details for webhook throttling.

targetUrl
string
required

Eine öffentlich verfügbare URL, die von HubSpot aufgerufen wird und an die Event-Payloads gesendet werden

Example:

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

Response

successful operation

Webhook settings for an app.

createdAt
string<date-time>
required

Wann dieses Abonnement erstellt wurde. Formatiert als Millisekunden ab der Unix-Epoche.

Example:

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

throttling
object
required

Configuration details for webhook throttling.

targetUrl
string
required

Eine öffentlich verfügbare URL, die von HubSpot aufgerufen wird und an die Event-Payloads gesendet werden. In link-so-some-doc finden Sie Einzelheiten über das Format dieser Event-Payloads.

Example:

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

updatedAt
string<date-time>

Wann dieses Abonnement zuletzt aktualisiert wurde. Formatiert als Millisekunden ab der Unix-Epoche.

Example:

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

I