Web Methods Approval Configurations API

The ApprovalConfigurations API from Web Methods — 2 operation(s) for approvalconfigurations.

GitHub OpenAPI

Operations 5

GET /approvalConfigurations Get approval configurations #
POST /approvalConfigurations Create approval configuration #
GET /approvalConfigurations/{id} Get approval configuration #
PUT /approvalConfigurations/{id} Update approval configuration #
DELETE /approvalConfigurations/{id} Delete approval configuration #

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-approvalconfigurations-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-approvalconfigurations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Approval Configurations API
  version: '11.0'
  description: 'Operations tagged ApprovalConfigurations across 2 of this provider''s published API definitions: apigateway-ApprovalManagement.json, web-methods-api-gateway-approvalmanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: ApprovalConfigurations
paths:
  /approvalConfigurations:
    get:
      description: The method retrieves a list of available approval configurations in API Gateway.
      operationId: getApprovalConfigurations
      responses:
        '200':
          description: This status code indicates that a list of the available approval configurations is retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalConfiguration'
              example: "{\n    \"approvalConfigurations\": [\n        {\n            \"id\": \"createApplication\",\n            \"eventType\": \"createApplication\",\n            \"isEnabled\": true,\n            \"approversGroupId\": \"0936de2c-9fb9-4625-b5b0-b7648e0d4103\",\n            \"approvalMode\": \"anyone\",\n            \"approvedEmailConfiguration\": {\n                \"emailSubject\": \"Approval of @event.type\",\n                \"emailContent\": \"Congratulations @requestor.name !\\n\\nYour request for @event.type has been approved.\",\n                \"enabled\": false,\n                \"requestType\": \"approved\"\n            },\n            \"rejectedEmailConfiguration\": {\n                \"emailSubject\": \"Rejection of @event.type\",\n                \"emailContent\": \"Hello @requestor.name,\\n\\nYour @event.type  request has been rejected.\\nReasons:@rejectionReason.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n                \"enabled\": false,\n                \"requestType\": \"rejected\"\n            },\n            \"initiateApprovalRequestEmailConfiguration\": {\n                \"emailSubject\": \"Approval request pending\",\n                \"emailContent\": \"Hello @approver.name,\\n\\n A request by @requestor.name to @event.type needs your review and approval.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n                \"enabled\": false,\n                \"requestType\": \"initiate\"\n            }\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.
      security:
      - Basic: []
      tags:
      - ApprovalConfigurations
      summary: Get approval configurations
      x-summary-source: derived
    post:
      description: The method creates an approval configuration in API Gateway.
      operationId: createApprovalConfiguration
      responses:
        '200':
          description: This status code indicates that the approval configuration has been successfully created in API Gateway.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalConfiguration'
              example: "{\n    \"approvalConfig\": {\n        \"id\": \"createApplication\",\n        \"eventType\": \"createApplication\",\n        \"isEnabled\": true,\n        \"approversGroupId\": \"0936de2c-9fb9-4625-b5b0-b7648e0d4103\",\n        \"approvalMode\": \"anyone\",\n        \"approvedEmailConfiguration\": {\n            \"emailSubject\": \"Approval of @event.type\",\n            \"emailContent\": \"Congratulations @requestor.name !\\n\\nYour request for @event.type has been approved.\",\n            \"enabled\": false,\n            \"requestType\": \"approved\"\n        },\n        \"rejectedEmailConfiguration\": {\n            \"emailSubject\": \"Rejection of @event.type\",\n            \"emailContent\": \"Hello @requestor.name,\\n\\nYour @event.type  request has been rejected.\\nReasons:@rejectionReason.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n            \"enabled\": false,\n            \"requestType\": \"rejected\"\n        },\n        \"initiateApprovalRequestEmailConfiguration\": {\n            \"emailSubject\": \"Approval request pending\",\n            \"emailContent\": \"Hello @approver.name,\\n\\n A request by @requestor.name to @event.type needs your review and approval.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n            \"enabled\": false,\n            \"requestType\": \"initiate\"\n        }\n    }\n}"
        '400':
          description: This status code indicates that the given approval configuration request body is not correct.
        '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.
        '500':
          description: This status code indicates that server has encountered an error during the creation of approval configuration.
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApprovalConfiguration'
        description: This parameter describes the request payload of an approval configuration that is to be created in API Gateway.
        required: true
      tags:
      - ApprovalConfigurations
      summary: Create approval configuration
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /approvalConfigurations/{id}:
    get:
      description: The method retrieves the details of a specified approval configuration in API Gateway
      operationId: getApprovalConfiguration
      parameters:
      - name: id
        in: path
        description: This parameter specifies the ID of an approval configuration whose details are to be retrieved in API Gateway.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the details of the specified approval configuration are retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalConfiguration'
              example: "{\n    \"approvalConfig\": {\n        \"id\": \"createApplication\",\n        \"eventType\": \"createApplication\",\n        \"isEnabled\": true,\n        \"approversGroupId\": \"0936de2c-9fb9-4625-b5b0-b7648e0d4103\",\n        \"approvalMode\": \"anyone\",\n        \"approvedEmailConfiguration\": {\n            \"emailSubject\": \"Approval of @event.type\",\n            \"emailContent\": \"Congratulations @requestor.name !\\n\\nYour request for @event.type has been approved.\",\n            \"enabled\": false,\n            \"requestType\": \"approved\"\n        },\n        \"rejectedEmailConfiguration\": {\n            \"emailSubject\": \"Rejection of @event.type\",\n            \"emailContent\": \"Hello @requestor.name,\\n\\nYour @event.type  request has been rejected.\\nReasons:@rejectionReason.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n            \"enabled\": false,\n            \"requestType\": \"rejected\"\n        },\n        \"initiateApprovalRequestEmailConfiguration\": {\n            \"emailSubject\": \"Approval request pending\",\n            \"emailContent\": \"Hello @approver.name,\\n\\n A request by @requestor.name to @event.type needs your review and approval.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n            \"enabled\": false,\n            \"requestType\": \"initiate\"\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: This status code indicates that an approval configuration with the given ID could not be found in API Gateway.
      security:
      - Basic: []
      tags:
      - ApprovalConfigurations
      summary: Get approval configuration
      x-summary-source: derived
    put:
      description: The method updates the approval configuration in API Gateway.
      operationId: updateApprovalConfiguration
      parameters:
      - name: id
        in: path
        description: This parameter specifies the ID of an approval configuration that is to be updated in API Gateway.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the approval configuration has been successfully updated in API Gateway.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalConfiguration'
              example: "{\n    \"approvalConfig\": {\n        \"id\": \"createApplication\",\n        \"eventType\": \"createApplication\",\n        \"isEnabled\": true,\n        \"approversGroupId\": \"0936de2c-9fb9-4625-b5b0-b7648e0d4103\",\n        \"approvalMode\": \"anyone\",\n        \"approvedEmailConfiguration\": {\n            \"emailSubject\": \"Approval of @event.type\",\n            \"emailContent\": \"Congratulations @requestor.name !\\n\\nYour request for @event.type has been approved.\",\n            \"enabled\": false,\n            \"requestType\": \"approved\"\n        },\n        \"rejectedEmailConfiguration\": {\n            \"emailSubject\": \"Rejection of @event.type\",\n            \"emailContent\": \"Hello @requestor.name,\\n\\nYour @event.type  request has been rejected.\\nReasons:@rejectionReason.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n            \"enabled\": false,\n            \"requestType\": \"rejected\"\n        },\n        \"initiateApprovalRequestEmailConfiguration\": {\n            \"emailSubject\": \"Approval request pending\",\n            \"emailContent\": \"Hello @approver.name,\\n\\n A request by @requestor.name to @event.type needs your review and approval.\\n\\nBest Regards,\\nAPI Gateway Team\\n\\n*** This notification was sent automatically. Do not reply to this email.***\",\n            \"enabled\": false,\n            \"requestType\": \"initiate\"\n        }\n    }\n}"
        '400':
          description: This status code indicates that the given approval configuration request body is not correct.
        '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 approval configuration with the given ID could not be found in API Gateway.
        '500':
          description: This status code indicates that server has encountered an error during the update of approval configuration.
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApprovalConfiguration'
        description: This parameter describes the request payload of an approval configuration that is to be updated in API Gateway.
        required: true
      tags:
      - ApprovalConfigurations
      summary: Update approval configuration
      x-summary-source: derived
    delete:
      description: The method deletes the specified approval configuration in API Gateway.
      operationId: deleteApprovalConfiguration
      parameters:
      - name: id
        in: path
        description: This parameter specifies the ID of an approval configuration that is to be deleted in API Gateway.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: This status code indicates that the specified approval configuration 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 an approval configuration with the given ID could not be found in API Gateway.
      security:
      - Basic: []
      tags:
      - ApprovalConfigurations
      summary: Delete approval configuration
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
components:
  schemas:
    EmailConfiguration:
      type: object
      properties:
        emailContent:
          type: string
          description: Email Content
        emailSubject:
          type: string
          description: Email Subject
        enabled:
          type: boolean
          description: true/false. Email would be sent to user only when enabled value is true.
        requestType:
          type: string
          description: Request Type. Value would be any of initiated, approved or rejected.
      description: This model contains details about an EmailConfiguration configured in Approvals of API Gateway
    ApprovalConfiguration:
      type: object
      properties:
        approvalMode:
          type: string
          description: Only possible value is anyone. This implies that, any one user associated with the approvers team can approve or reject the requests. The requester need not wait for the approval of each approver in the approvers group.
        approvedEmailConfiguration:
          $ref: '#/components/schemas/EmailConfiguration'
        approversGroupId:
          type: string
          description: Approvers Accessprofile Identifier. Whoever belongs to the selected team will be considered as Approvers
        autoApproval:
          type: boolean
          description: The created request will be auto-approved when the requester is a valid approver and the value is true. Default value is true.
        eventType:
          type: string
          description: 'Event Type: Any of ''createApplication'', ''updateApplication'', ''registerApplication'', ''subscribePackage'' and ''changeOwner'''
        id:
          type: string
          description: Unique identifier of a Approval Configuration. Any of 'createApplication', 'updateApplication', 'registerApplication', 'subscribePackage' and 'changeOwner'
        initiateApprovalRequestEmailConfiguration:
          $ref: '#/components/schemas/EmailConfiguration'
        isEnabled:
          type: boolean
          description: true/false. true value enforces approvals for the mentioned eventtype
        owningTeamApprovalRequired:
          type: boolean
          description: The asset specific team approvers will be the approvers when the value is true. Default value is false.
        rejectedEmailConfiguration:
          $ref: '#/components/schemas/EmailConfiguration'
      description: This model contains details about an ApprovalConfiguration in API Gateway
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-ApprovalManagement.json
- web-methods-api-gateway-approvalmanagement-openapi.yml