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.
- GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/webhooks/{binId}Capture any request sent to a bin. - GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/webhooks/{binId}/{rest}Capture any request sent to a bin. - POST
https://api.testingapis.com/api/webhooks/binsCreate a webhook bin that captures incoming requests. - GET
https://api.testingapis.com/api/webhooks/bins/{id}Inspect a bin and the requests it captured. - DELETE
https://api.testingapis.com/api/webhooks/bins/{id}Delete a bin. - DELETE
https://api.testingapis.com/api/webhooks/bins/{id}/requestsClear a bin's captured requests. - GET
https://api.testingapis.com/api/webhooks/samplesList the sample signed webhook events. - GET
https://api.testingapis.com/api/webhooks/samples/{provider}Get a signed sample event for testing signature verification.
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"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)