Webhooks
Webhook erstellen
Erstellt ein HTTPS-Ziel und gibt das Geheimnis einmal preis.
POST
/webhookswebhooks:writeAnfrage
namestring · bodyZielname.obligatorischurlstring · bodyÖffentliche HTTPS-URL.obligatorischeventsarray · bodyEreignisse oder *.obligatorischactiveboolean · bodyAktiviert das Ziel.optionalBeispiel
curl
curl -X POST 'https://achadu.com/api/v1/webhooks' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"url": "https://example.com/product",
"events": [
"offer.created"
],
"active": true
}'Antwort
201Ressource erstellt4xxFehler mit Code, Nachricht und request_id