TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Create a webhook bin that captures incoming requests

POSThttps://api.testingapis.com/api/webhooks/binsSign in to see this endpoint's URL

Point a webhook sender at the returned url, then read what arrived at inspectUrl. Up to 100 bins are kept; when the limit is reached, the oldest bin is evicted.

Request body

Optional. application/json, text/json, application/*+json, application/xml, text/xml, application/*+xml. Model: WebhooksControllerCreateBinRequest. Optional name for the bin.

Example body
{"name": "orders"}

Responses

200
OK
201
Bin created; the response includes its capture URL and inspect URL.
400
Name too long.

Example

Request
curl -X POST "https://api.testingapis.com/api/webhooks/bins" \
  -H "Content-Type: application/json" \
  -d '{"name": "orders"}' \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response201 Created
{
  "message": "Webhook bin created",
  "data": {
    "id": "0c772c6736ed",
    "name": "orders",
    "createdAt": "2026-09-30T18:26:45Z",
    "requestCount": 0,
    "url": "https://api.testingapis.com/api/webhooks/0c772c6736ed",
    "inspectUrl": "https://api.testingapis.com/api/webhooks/bins/0c772c6736ed"
  }
}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.