Webhook Toolkit API

Webhook Toolkit API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-28); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 23

GET /api/stripe/webhook GET /api/stripe/webhook #
POST /api/stripe/webhook POST /api/stripe/webhook #
POST /api/v1/endpoints POST /api/v1/endpoints #
GET /api/v1/endpoints/Qx7pL2mN9aZk/stream GET /api/v1/endpoints/Qx7pL2mN9aZk/stream #
GET /api/v1/endpoints/Qx7pL2mN9aZk/wait GET /api/v1/endpoints/Qx7pL2mN9aZk/wait #
POST /api/webhooks/ID/{token} POST /api/webhooks/ID/{token} #
GET /endpoints List your URLs (API key required). #
POST /endpoints Create a capture URL. #
DELETE /endpoints/{token} Delete the URL and its requests. #
GET /endpoints/{token} One URL, with its configured response. #
PATCH /endpoints/{token} Rename it or change what it answers. #
POST /endpoints/{token}/claim Make an anonymous URL permanent on your account (API key). #
DELETE /endpoints/{token}/requests Clear the history. #
GET /endpoints/{token}/requests Captured requests, newest first. #
GET /endpoints/{token}/requests/{id} One request in full. #
POST /endpoints/{token}/requests/{id}/explain AI: { mode: "explain" | "handler", language?, locale? }. #
POST /endpoints/{token}/requests/{id}/replay Re‑send the request to a public URL. #
GET /endpoints/{token}/stream Server-Sent Events: one `request` event per captured request. #
GET /endpoints/{token}/wait Long-poll: returns the next request (max 50 s), or { request: null, timedOut: true }. #
GET /me Your plan and limits (API key required). #
GET /relay/{slug} Relay — tunnel to localhost #
POST /relays List or create Relay tunnels (paid plans). #
POST /services/T00000000/B00000000/XXXXXXXXXXXXXXXX POST /services/T00000000/B00000000/XXXXXXXXXXXXXXXX #

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/webhook-toolkit-com:webhook-toolkit-com-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

webhook-toolkit-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Webhook Toolkit API
  version: '2026-11-28'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-28: 23 operation(s) read from 6 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Webhook Toolkit has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 7
    documentation: 16
    pages-with-code: 6
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-28'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://webhook-toolkit.com/docs/api
  - https://webhook-toolkit.com/slack-webhook-tester
  - https://webhook-toolkit.com/discord-webhook-tester
  - https://webhook-toolkit.com/guides/playwright-webhook-testing
  - https://webhook-toolkit.com/docs
  - https://webhook-toolkit.com/cli
servers:
- url: https://webhook-toolkit.com
paths:
  /api/stripe/webhook:
    get:
      operationId: get_api_stripe_webhook
      tags:
      - Api
      summary: GET /api/stripe/webhook
      x-source: https://webhook-toolkit.com/cli
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl — or --send it. verify <provider> --secret <s> Check a signature against a raw body and tell you why it fails. replay <token>
          <id> --to <url> Re-send a captured request from your machine (localhost works). requests <token> List the requests captured by a URL
          (--json for scripts). login --key whk_… Tie the URLs you create to your account (they stop expiring). mcp Start the MCP server so Claude
    post:
      operationId: post_api_stripe_webhook
      tags:
      - Api
      summary: POST /api/stripe/webhook
      x-source: https://webhook-toolkit.com/guides/playwright-webhook-testing
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: 'fetch("http://localhost:3000/api/stripe/webhook", { method: "POST", headers, body })'
  /api/v1/endpoints:
    post:
      operationId: post_api_v1_endpoints
      tags:
      - Api
      summary: POST /api/v1/endpoints
      x-source: https://webhook-toolkit.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1EndpointsRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1EndpointsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://webhook-toolkit.com/api/v1/endpoints -H ''content-type: application/json'' -d ''{"name":"demo"}'''
  /api/v1/endpoints/Qx7pL2mN9aZk/stream:
    get:
      operationId: get_api_v1_endpoints_Qx7pL2mN9aZk_stream
      tags:
      - Api
      summary: GET /api/v1/endpoints/Qx7pL2mN9aZk/stream
      x-source: https://webhook-toolkit.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -N https://webhook-toolkit.com/api/v1/endpoints/Qx7pL2mN9aZk/stream

          event: hello

          data: {"endpointId":"clx…","token":"Qx7pL2mN9aZk"}

          event: request

          data: {"id":"clx…","method":"POST","path":"/","body":"hello",…} Prefer the official client in Node.js: npm i webhook-toolkit — createEndpoint()
          , waitForRequest() , stream() , typed errors. See the CLI page . Launch offer · −50 % Debugging a webhoo'
  /api/v1/endpoints/Qx7pL2mN9aZk/wait:
    get:
      operationId: get_api_v1_endpoints_Qx7pL2mN9aZk_wait
      tags:
      - Api
      summary: GET /api/v1/endpoints/Qx7pL2mN9aZk/wait
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: timeout
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1EndpointsQx7Pl2Mn9AzkWaitResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl -s "https://webhook-toolkit.com/api/v1/endpoints/Qx7pL2mN9aZk/wait?timeout=50"
  /api/webhooks/ID/{token}:
    post:
      operationId: post_api_webhooks_ID_token
      tags:
      - Api
      summary: POST /api/webhooks/ID/{token}
      x-source: https://webhook-toolkit.com/discord-webhook-tester
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: wait
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiWebhooksIdTokenRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl Copy curl -X POST "https://discord.com/api/webhooks/ID/TOKEN?wait=true"  -H "Content-Type: application/json"  -d ''{"content":"Test
          message from webhook-toolkit.com ✅","embeds":[{"title":"Deployment succeeded","description":"Build `#1287` shipped to production in
          42s.","color":5793266,"fields":[{"name":"Environment","value":"production","inline":true},{"name":"Commit","value":"a1b2c3d","inline'
  /endpoints:
    get:
      operationId: get_endpoints
      tags:
      - Endpoints
      summary: List your URLs (API key required).
      x-source: https://webhook-toolkit.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEndpointsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_endpoints
      tags:
      - Endpoints
      summary: Create a capture URL.
      x-source: https://webhook-toolkit.com/docs/api
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostEndpointsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostEndpointsResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}:
    delete:
      operationId: delete_endpoints_token
      tags:
      - Endpoints
      summary: Delete the URL and its requests.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_endpoints_token
      tags:
      - Endpoints
      summary: One URL, with its configured response.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEndpointsTokenResponse'
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_endpoints_token
      tags:
      - Endpoints
      summary: Rename it or change what it answers.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchEndpointsTokenRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchEndpointsTokenResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}/claim:
    post:
      operationId: post_endpoints_token_claim
      tags:
      - Endpoints
      summary: Make an anonymous URL permanent on your account (API key).
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostEndpointsTokenClaimResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}/requests:
    delete:
      operationId: delete_endpoints_token_requests
      tags:
      - Endpoints
      summary: Clear the history.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_endpoints_token_requests
      tags:
      - Endpoints
      summary: Captured requests, newest first.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: Maximum number of requests to return.
      - name: after
        in: query
        required: false
        schema:
          type: string
        description: ISO timestamp to paginate after.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEndpointsTokenRequestsResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}/requests/{id}:
    get:
      operationId: get_endpoints_token_requests_id
      tags:
      - Endpoints
      summary: One request in full.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEndpointsTokenRequestsIdResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}/requests/{id}/explain:
    post:
      operationId: post_endpoints_token_requests_id_explain
      tags:
      - Endpoints
      summary: 'AI: { mode: "explain" | "handler", language?, locale? }.'
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostEndpointsTokenRequestsIdExplainRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /endpoints/{token}/requests/{id}/replay:
    post:
      operationId: post_endpoints_token_requests_id_replay
      tags:
      - Endpoints
      summary: Re‑send the request to a public URL.
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostEndpointsTokenRequestsIdReplayRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostEndpointsTokenRequestsIdReplayResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}/stream:
    get:
      operationId: get_endpoints_token_stream
      tags:
      - Endpoints
      summary: 'Server-Sent Events: one `request` event per captured request.'
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEndpointsTokenStreamResponse'
      x-evidence:
        kind: documentation
  /endpoints/{token}/wait:
    get:
      operationId: get_endpoints_token_wait
      tags:
      - Endpoints
      summary: 'Long-poll: returns the next request (max 50 s), or { request: null, timedOut: true }.'
      x-source: https://webhook-toolkit.com/docs/api
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: timeout
        in: query
        required: false
        schema:
          type: integer
        description: Maximum wait time in seconds.
      - name: after
        in: query
        required: false
        schema:
          type: string
        description: ISO timestamp to wait for requests after.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEndpointsTokenWaitResponse'
      x-evidence:
        kind: documentation
  /me:
    get:
      operationId: get_me
      tags:
      - Me
      summary: Your plan and limits (API key required).
      x-source: https://webhook-toolkit.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /relay/{slug}:
    get:
      operationId: get_relay_slug
      tags:
      - Relay
      summary: Relay — tunnel to localhost
      description: Receive real third‑party webhooks straight on your localhost via the public URL https://webhook-toolkit.com/relay/<slug>.
      x-source: https://webhook-toolkit.com/docs
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /relays:
    post:
      operationId: post_relays
      tags:
      - Relays
      summary: List or create Relay tunnels (paid plans).
      x-source: https://webhook-toolkit.com/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /services/T00000000/B00000000/XXXXXXXXXXXXXXXX:
    post:
      operationId: post_services_T00000000_B00000000_XXXXXXXXXXXXXXXX
      tags:
      - Services
      summary: POST /services/T00000000/B00000000/XXXXXXXXXXXXXXXX
      x-source: https://webhook-toolkit.com/slack-webhook-tester
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostServicesT00000000B00000000XxxxxxxxxxxxxxxxRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl / Node. Validate an X-Slack-Signature Pick Slack , paste the v0=… header, your Signing Secret, the X-Slack-Request-Timestamp
          , and the raw body. If it fails, the validator tells you which mutation (trimmed secret, stray newline) would have made it pass. Everything
          runs in your browser with the Web Crypto API. Your signing secret is never sent to our servers — you can verify in the Network tab
components:
  schemas:
    PostApiV1EndpointsRequest:
      type: object
      properties:
        name:
          type: string
    PostApiV1EndpointsResponse:
      type: object
      properties:
        request:
          type:
          - string
          - 'null'
        timedOut:
          type: boolean
    GetApiV1EndpointsQx7Pl2Mn9AzkWaitResponse:
      type: object
      properties:
        request:
          type:
          - string
          - 'null'
        timedOut:
          type: boolean
    PostApiWebhooksIdTokenRequest:
      type: object
      properties:
        content:
          type: string
        embeds:
          type: array
          items:
            type: object
            properties:
              title:
                type: string
              description:
                type: string
              color:
                type: integer
              fields:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    value:
                      type: string
                    inline:
                      type: boolean
    GetEndpointsResponse:
      type: object
      properties:
        endpoints:
          type: array
          description: Array of endpoint objects.
    PostEndpointsRequest:
      type: object
      properties:
        name:
          type: string
          description: Optional name for the endpoint.
    PostEndpointsResponse:
      type: object
      properties:
        endpoint:
          type: object
          description: The created endpoint object.
    GetEndpointsTokenResponse:
      type: object
      properties:
        endpoint:
          type: object
          description: The endpoint object.
    PatchEndpointsTokenRequest:
      type: object
      properties:
        name:
          type: string
          description: New name.
        response:
          type: object
          description: Response configuration.
        response.status:
          type: integer
          description: HTTP status.
        response.body:
          type: string
          description: Response body.
        response.contentType:
          type: string
          description: Response Content-Type.
    PatchEndpointsTokenResponse:
      type: object
      properties:
        endpoint:
          type: object
          description: Updated endpoint object.
    PostEndpointsTokenClaimResponse:
      type: object
      properties:
        endpoint:
          type: object
          description: The claimed endpoint.
    GetEndpointsTokenRequestsResponse:
      type: object
      properties:
        requests:
          type: array
          description: Array of captured request objects.
    GetEndpointsTokenRequestsIdResponse:
      type: object
      properties:
        request:
          type: object
          description: The captured request object.
    PostEndpointsTokenRequestsIdExplainRequest:
      type: object
      properties:
        mode:
          type: string
          description: '"explain" | "handler"'
        language:
          type: string
        locale:
          type: string
      required:
      - mode
    PostEndpointsTokenRequestsIdReplayRequest:
      type: object
      properties:
        url:
          type: string
          description: Public URL to replay the request to.
      required:
      - url
    PostEndpointsTokenRequestsIdReplayResponse:
      type: object
      properties:
        replay:
          type: object
          description: Result of the replay operation.
    GetEndpointsTokenStreamResponse:
      type: object
      properties:
        event:
          type: string
          description: SSE event name.
        data:
          type: object
          description: Event payload.
    GetEndpointsTokenWaitResponse:
      type: object
      properties:
        request:
          type: object
          description: The next request or null if timed out.
        timedOut:
          type: boolean
          description: True if the wait timed out.
    PostServicesT00000000B00000000XxxxxxxxxxxxxxxxRequest:
      type: object
      properties:
        text:
          type: string
tags:
- name: Api
- name: Endpoints
- name: Me
- name: Relay
- name: Relays
- name: Services