Web Methods Webhooks API

The Webhooks API from Web Methods — 2 operation(s) for webhooks.

GitHub OpenAPI

Operations 5

GET /webhooks Get all webhooks #
POST /webhooks Create webhook #
GET /webhooks/{id} Get webhook #
PUT /webhooks/{id} Update webhook #
DELETE /webhooks/{id} Delete webhook #

Specifications

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/web-methods:web-methods-webhooks-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

web-methods-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Webhooks API
  version: '11.0'
  description: 'Operations tagged Webhooks across 2 of this provider''s published API definitions: apigateway-Administration.json, web-methods-api-gateway-administration-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: Webhooks
paths:
  /webhooks:
    get:
      description: The method retrieves the list of all webhooks in API Gateway.
      operationId: getAllWebhooks
      responses:
        '200':
          description: This status code indicates that the list of webhooks is successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Webhook'
              example: "{\n  \"response\": [\n    {\n      \"id\": \"4f72fe1c-aeb2-4286-b7dd-c0e503eb9741\",\n      \"config\": {\n        \"url\": \"http://apigatewaymig.free.beeceptor.com/my/api/path/test\",\n        \"headers\": {},\n        \"username\": null,\n        \"password\": null,\n        \"truststoreAlias\": null\n      },\n      \"events\": [\n        \"migration:clean:datastore:completed\"\n      ],\n      \"active\": true\n    },\n    {\n      \"id\": \"4744c622-488b-4799-97c9-847886d7bdcc\",\n      \"config\": {\n        \"url\": \"http://apigatewaymig.free.beeceptor.com/my/api/path/test\",\n        \"headers\": {},\n        \"username\": null,\n        \"password\": null,\n        \"truststoreAlias\": null\n      },\n      \"events\": [\n        \"migration:quiesce:designtime:completed\"\n      ],\n      \"active\": true\n    }\n  ]\n}"
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: No records found.
      security:
      - Basic: []
      tags:
      - Webhooks
      summary: Get all webhooks
      x-summary-source: derived
    post:
      description: The method creates a webhook in API Gateway. The API request body must contain the payload of the webhook that needs to be saved.
      operationId: createWebhook
      responses:
        '201':
          description: This status code indicates that the webhook has been successfully created in API Gateway, and the newly created webhook is available in the response body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
              example: "{\n  \"id\": \"0fdb89ee-e3fe-4045-adc0-0a45794858a0\",\n  \"config\": {\n    \"url\": \"ahttp://apigatewaymigration.free.beeceptor.com/my/api/path/test\",\n    \"headers\": {\n      \"api-key\": \"asdfg\"\n    },\n    \"username\": \"username\",\n    \"password\": \"password\",\n    \"truststoreAlias\": \"truststoreAlias\"\n  },\n  \"events\": [\n    \"migration:quiesce:designtime:completed\",\n    \"migration:quiesce:all:completed\"\n  ],\n  \"active\": true\n}"
        '400':
          description: This status code indicates that a webhook with the given id already exists in API Gateway or the request body is not correct.
          content:
            application/json:
              example: '{}'
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Webhook'
        required: true
      tags:
      - Webhooks
      summary: Create webhook
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /webhooks/{id}:
    get:
      description: The method retrieves the details of a webhook in API Gateway.
      operationId: getWebhook
      parameters:
      - name: id
        in: path
        description: The path parameter specifies the id of a webhook whose details are to be retrieved.
        required: true
        x-example: 732c4526-db9a-4ef9-9782-edda1a6aa9bc
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the details of the webhook are successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
              example: "{\n  \"response\": {\n    \"id\": \"4f72fe1c-aeb2-4286-b7dd-c0e503eb9741\",\n    \"config\": {\n      \"url\": \"http://apigatewaymig.free.beeceptor.com/my/api/path/test\",\n      \"headers\": {\n        \"api-key\": \"asdfg\"\n      },\n      \"username\": \"username\",\n      \"password\": \"password\",\n      \"truststoreAlias\": \"truststoreAlias\"\n    },\n    \"events\": [\n      \"migration:clean:datastore:completed\",\n      \"migration:quiesce:all:completed\"\n    ],\n    \"active\": true\n  }\n}"
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that a webhook with the given id could not be found in API Gateway.
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" Resource 92d08e66-8746-43fd-9e8c-66b413fdf32 not found\"\n}"
      security:
      - Basic: []
      tags:
      - Webhooks
      summary: Get webhook
      x-summary-source: derived
    put:
      description: The method updates the details of a specified webhook in API Gateway. The API request body must contain the payload of the webhook that needs to be updated.
      operationId: updateWebhook
      parameters:
      - name: id
        in: path
        description: The path parameter specifies the id of an webhook whose detail is to be updated in API Gateway.
        required: true
        x-example: 732c4526-db9a-4ef9-9782-edda1a6aa9bc
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the webhook has been successfully updated in API Gateway, and the updated webhook is available in the response body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
              example: "{\n  \"id\": \"0fdb89ee-e3fe-4045-adc0-0a45794858a0\",\n  \"config\": {\n    \"url\": \"ahttp://apigatewaymigration.free.beeceptor.com/my/api/path/test\",\n    \"headers\": {\n      \"api-key\": \"asdfg\"\n    },\n    \"username\": \"username\",\n    \"password\": \"password\",\n    \"truststoreAlias\": \"truststoreAlias\"\n  },\n  \"events\": [\n    \"migration:quiesce:designtime:completed\",\n    \"migration:quiesce:all:completed\"\n  ],\n  \"active\": true\n}"
        '400':
          description: This status code indicates that the request body is invalid.
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that an webhook with the specified id could not be found in API Gateway.
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" Resource 92d08e66-8746-43fd-9e8c-66b413fdf32 not found\"\n}"
        '405':
          description: This status code indicates that the specified HTTP method is not allowed for the requested webhook in API Gateway.
          content:
            application/json:
              example: "{\n  \"errorDetails\": \" Unable to process the PUT request for webhook. Error occurred while processing the payload. Error Message:\\n Method: PUT is not allowed on resource: webhook\"\n}"
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Webhook'
        description: This parameter describes the request payload of webhook that is to be updated in API Gateway.
        required: true
      tags:
      - Webhooks
      summary: Update webhook
      x-summary-source: derived
    delete:
      description: The method deletes a webhook resource from API Gateway.
      operationId: deleteWebhook
      parameters:
      - name: id
        in: path
        description: This parameter specifies the id of the webhook that is to be deleted in API Gateway.
        required: true
        x-example: 732c4526-db9a-4ef9-9782-edda1a6aa9bc
        schema:
          type: string
      responses:
        '204':
          description: This status code indicates that the specified webhook has been successfully deleted from API Gateway.
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that a webhook with the given id could not be found in API Gateway.
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" Resource 732c4526-db9a-4ef9-9782-edda1a6aa9bc not found.\"\n}"
        '405':
          description: This status code indicates that the specified HTTP method is not allowed for the requested object in API Gateway.
      security:
      - Basic: []
      tags:
      - Webhooks
      summary: Delete webhook
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
components:
  schemas:
    Webhook:
      type: object
      required:
      - events
      properties:
        active:
          type: boolean
          description: Specifies whether this webhook is active or not. Default value is false.
        config:
          $ref: '#/components/schemas/WebhookConfig'
        events:
          type: array
          description: The list of interested events this webhook is subscribed for
          items:
            type: string
            enum:
            - migration:quiesce:designtime:completed
            - migration:quiesce:all:completed
            - migration:reindex:core:completed
            - migration:reindex:logsevents:completed
            - migration:reindex:analyticsandlogs:completed
            - migration:reindex:all:completed
            - migration:transform:assets:competed
            - migration:clean:datastore:completed
            - apigateway:server:started
        id:
          type: string
          description: A unique ID for the webhook
          readOnly: true
      description: This model contains details about a webhook in API Gateway
    WebhookConfig:
      type: object
      required:
      - url
      properties:
        headers:
          type: object
          description: The HTTP headers to be sent in the request when the event is occurred
          additionalProperties:
            type: string
        password:
          type: string
          description: The password required to authenticate if authentication is enabled for the webhook endpoint.
        truststoreAlias:
          type: string
          description: Specify the truststore that needs to be used by API Gateway while sending the request to the webhook endpoint.
        url:
          type: string
          description: The URL to which API Gateway sends the payload when the event is occurred
        username:
          type: string
          description: The user name required to authenticate against if authentication is enabled for the webhook endpoint.
      description: This model contains webhook configuration details like url, headers, etc in API Gateway
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-Administration.json
- web-methods-api-gateway-administration-openapi.yml