Webhook Tester API Documentation

The API doesn't need any authentication, you just need to know the unique address of the webhook.

Base URL for the API: https://webhook-test.com/api

GET /webhooks/:id

Retrieves the details and payloads of a specific webhook.

Parameters

Parameter Type Description
id integer The unique identifier of the webhook.

Response

The response will be a JSON object containing the details of the webhook.

{
  "address": "cb51e5552e035d84fe9b14ba45f0be27",
  "response_code": "200",
  "content_type": "application/json",
  "payload": "{\"success\": true}",
  "payloads": [
    {
      "method": "POST",
      "headers": {
        "host": "localhost:3000",
        "accept": "*/*",
        "version": "HTTP/1.1",
        "user-agent": "curl/8.4.0"
      },
      "created_at": "2024-09-30T19:57:52.469Z",
      "payload": "{\"username\":\"xyz\",\"password\":\"xyz\"}"
    },
    {
      "method": "POST",
      "headers": {
        "host": "localhost:3000",
        "accept": "*/*",
        "version": "HTTP/1.1",
        "user-agent": "curl/8.4.0"
      },
      "created_at": "2024-09-30T19:57:52.163Z",
      "payload": "{\"username\":\"xyz\",\"password\":\"xyz\"}"
    },
    {
      "method": "POST",
      "headers": {
        "host": "localhost:3000",
        "accept": "*/*",
        "version": "HTTP/1.1",
        "user-agent": "curl/8.4.0"
      },
      "created_at": "2024-09-30T19:57:51.632Z",
      "payload": "{\"username\":\"xyz\",\"password\":\"xyz\"}"
    }
  ]
}