New in 2.4: Test runs you can trust See what's new →

Webhooks

Webhook-Tests. Bins: Leg einen Bin an, richte einen Webhook-Sender auf /api/webhooks/{binId} und sieh dir an, was angekommen ist. Höchstens 100 Bins (die ältesten fallen weg), 50 Requests pro Bin (die neuesten bleiben) und 256KB pro erfasstem Body. Beispiele: feste Event-Payloads von Stripe, GitHub und Shopify mit gültigen Signatur-Headern, zum Testen der Signaturprüfung. Dieser Controller ruft nie selbst HTTP nach außen auf.

Beispiel-Request

List the sample signed webhook events. Vollständige Referenz und Send-Button (auf Englisch).

cURL
curl -X GET "https://api.testingapis.com/api/webhooks/samples"
In Studio ausführen
Antwort · 200 OK
{
  "signingSecret": "whsec_apibee_test_secret",
  "note": "Each sample returns the exact signed payload as the body, with the provider's signature headers. ?format=envelope returns everything as JSO…
  "samples": [
    {
      "provider": "stripe",
      "eventType": "payment_intent.succeeded",
      "signatureHeader": "Stripe-Signature",
      "url": "/api/webhooks/samples/stripe"
    },
    {
      "provider": "github",
      "eventType": "push",
      "signatureHeader": "X-Hub-Signature-256,
… (10 more lines)