Railhook Webhook Tester API

Public webhook tester URLs that need no account

GitHub OpenAPI

Operations 7

GET /hook/p/{slug} Send a request to a tester URL #
PUT /hook/p/{slug} Send a request to a tester URL #
POST /hook/p/{slug} Send a request to a tester URL #
DELETE /hook/p/{slug} Send a request to a tester URL #
PATCH /hook/p/{slug} Send a request to a tester URL #
POST /api/v1/public/bins Make a tester URL #
GET /api/v1/public/bins/{slug} Read a tester URL #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/railhook-io:railhook-io-webhook-tester-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

railhook-io-webhook-tester-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Railhook Webhook Tester API
  description: 'Send webhooks to the endpoints your customers register, and receive webhooks from any provider, with every attempt on record.


    ## What you can do

    - **Outgoing**: post an event once; Railhook delivers it, signed, to every subscribed endpoint and retries on its own (1m → 24h, 7 attempts). What never arrives lands in Failed Messages.

    - **Incoming**: give each provider its own ingress URL; Railhook verifies the signature and forwards the event to your destinations.

    - **Replay**: send past events again with Time Machine.


    ## Authentication

    - **API key** (`X-API-Key` header): project-scoped calls, including sending events. What the SDKs use.

    - **Bearer token**: account and organization calls made on behalf of a signed-in user.

    - **Portal session** (`Authorization: Bearer rhp_…`): the `/api/v1/portal/**` calls the embedded customer portal makes for one Consumer. Opened by your backend with an API key.


    Guides: /docs/'
  contact:
    name: Railhook
    url: https://github.com/vadymkykalo/railhook
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.0.0
servers:
- url: '{baseUrl}'
  description: Your Railhook installation — the same origin the dashboard runs on
  variables:
    baseUrl:
      description: Scheme and host of your installation, without a trailing slash
      default: http://localhost:8080
security:
- bearerAuth: []
tags:
- name: Webhook Tester
  description: Public webhook tester URLs that need no account
paths:
  /hook/p/{slug}:
    get:
      tags:
      - Webhook Tester
      summary: Send a request to a tester URL
      description: Any method, any body. Recorded and answered with 200.
      operationId: capturePublicBinRequestGet
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: Recorded
          content:
            '*/*':
              schema:
                type: object
                additionalProperties: {}
        '404':
          description: No such URL, or it has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests to this URL
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
    put:
      tags:
      - Webhook Tester
      summary: Send a request to a tester URL
      description: Any method, any body. Recorded and answered with 200.
      operationId: capturePublicBinRequestPut
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: Recorded
          content:
            '*/*':
              schema:
                type: object
                additionalProperties: {}
        '404':
          description: No such URL, or it has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests to this URL
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
    post:
      tags:
      - Webhook Tester
      summary: Send a request to a tester URL
      description: Any method, any body. Recorded and answered with 200.
      operationId: capturePublicBinRequestPost
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: Recorded
          content:
            '*/*':
              schema:
                type: object
                additionalProperties: {}
        '404':
          description: No such URL, or it has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests to this URL
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
    delete:
      tags:
      - Webhook Tester
      summary: Send a request to a tester URL
      description: Any method, any body. Recorded and answered with 200.
      operationId: capturePublicBinRequestDelete
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: Recorded
          content:
            '*/*':
              schema:
                type: object
                additionalProperties: {}
        '404':
          description: No such URL, or it has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests to this URL
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
    patch:
      tags:
      - Webhook Tester
      summary: Send a request to a tester URL
      description: Any method, any body. Recorded and answered with 200.
      operationId: capturePublicBinRequestPatch
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: Recorded
          content:
            '*/*':
              schema:
                type: object
                additionalProperties: {}
        '404':
          description: No such URL, or it has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many requests to this URL
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
  /api/v1/public/bins:
    post:
      tags:
      - Webhook Tester
      summary: Make a tester URL
      description: 'A URL that records every request sent to it for a day: the latest 100 within 1 MB of bodies, the first 64 KB of each, with credentials masked. Anyone who has the URL can read what it received. At most three live URLs per address.'
      operationId: createPublicBin
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicBinCreateRequest'
      responses:
        '201':
          description: The URL
          content:
            '*/*':
              schema:
                type: object
        '400':
          description: The challenge was not passed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many URLs made from this address, or it already holds three live ones
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: The tester holds as many live URLs as it allows; try later
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/v1/public/bins/{slug}:
    get:
      tags:
      - Webhook Tester
      summary: Read a tester URL
      description: The URL and the requests it received, newest first.
      operationId: getPublicBin
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The URL and its requests
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PublicBinResponse'
        '404':
          description: No such URL, or it has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    JsonNode: {}
    PublicBinCreateRequest:
      type: object
      properties:
        captchaToken:
          type: string
    PublicBinResponse:
      type: object
      properties:
        slug:
          type: string
        url:
          type: string
        expiresAt:
          type: string
          format: date-time
        requestCount:
          type: integer
          format: int64
        requests:
          type: array
          items:
            $ref: '#/components/schemas/Request'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        status:
          type: integer
          format: int32
        fieldErrors:
          type: object
          additionalProperties:
            type: string
    Request:
      type: object
      properties:
        id:
          type: integer
          format: int64
        method:
          type: string
        query:
          type: string
        headers:
          $ref: '#/components/schemas/JsonNode'
        body:
          type: string
        bodyTruncated:
          type: boolean
        sizeBytes:
          type: integer
          format: int64
        contentType:
          type: string
        sourceIp:
          type: string
        receivedAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      description: JWT token obtained from /api/v1/auth/login
      scheme: bearer
      bearerFormat: JWT
    apiKey:
      type: apiKey
      description: Project API key for event ingestion
      name: X-API-Key
      in: header
    platformAdminToken:
      type: apiKey
      description: Cluster-operator credential (PLATFORM_ADMIN_TOKEN env var), independent of tenant org membership — required for cross-tenant admin endpoints
      name: X-Platform-Admin-Token
      in: header
    portalSession:
      type: http
      description: Portal session token, returned once by POST /api/v1/projects/{projectId}/consumers/{consumerId}/portal-sessions
      scheme: bearer
      bearerFormat: rhp_…