PUT/v1/webhooks0 Credits
Webhook setzen
Optional. Üblich: Hookest-Site. Erster Create zeigt secret einmal. Nur https. Das ist eine Berechtigung am Key, kein Request-Header. Fehlt sie, kommt 403 api_not_enabled.
Request-Parameter
| Name | In | Typ | Pflicht | Beschreibung |
|---|---|---|---|---|
url |
body | string | Pflicht | Öffentliches HTTPS. Kein localhost. |
Antwort
{
"object": "webhook",
"url": "https://customer.example/hookest",
"configured": true,
"secret": "whsec_…"
}
Antwortfelder
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
object |
string | Pflicht | Immer webhook. |
url |
string | Nullable | Konfigurierte HTTPS-URL, oder null. |
configured |
boolean | Pflicht | Nur true, wenn eine HTTPS-URL aktiv ist. |
secret |
string | Optional | Roh whsec_…. Nur beim ersten Create. |