Web Methods Security API

The Security API from Web Methods — 2 operation(s) for security.

GitHub OpenAPI

Operations 2

POST /security/exchangeIDToken Exchange ID token #
POST /security/getJsonWebToken Get json web token new #

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-security-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-security-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Security API
  version: '11.0'
  description: 'Operations tagged Security across 2 of this provider''s published API definitions: apigateway-InternalService.json, web-methods-api-gateway-internalservice-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/{gateway}
tags:
- name: Security
paths:
  /security/exchangeIDToken:
    post:
      description: Generate an access token for the given ID Token
      operationId: exchangeIDToken
      responses:
        '200':
          description: This status code indicates that the access token has been successfully generated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceOutput'
              example: "{\n    \"accessToken\": \"eyJraWQiOiJzc29zIiwiYWxnIjoiUlMyNTYifQ.eyJzY3AiOlsiaW52ZW50b3J5Il0sInVpZCI6IjExNDkyODAyNjk0ODQxOTM1NzgzNyIsInN1YiI6IjQwNzQwODcxODE5Mi5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImF1ZCI6InRpbWV0cmF2ZWxzIiwiYXpwIjoiODAzYjdmMTYtNDVjNi00YjFjLWJlMjYtNGRhMDUzZDQwNjQwIiwiaXNzIjoidGVzdC1nYXRld2F5LWlzc3VlciIsImV4cCI6MTU0Mzk5NjExNCwiaWF0IjoxNTQzOTkyNTE1LCJqdGkiOiIzZGQ5M2FmOC0yMWVmLTQyMDYtYTBiNy01MTg2NDUxMTM0YWYifQ.Dty2iLk_DJRZLU0CYhb7Opp_sINP7yRVkgAvafYGrSzDEeWiOXDv_jSO93iQV4TCdU20R5WjypC0HY_xd05VkqozFP0I5irZGYqmVnm8rFonzLXmHBx6JZZdm4Xq-Bq2rTSe08QjOGhd5Xa00FlX2c8-SjYfx3p2wtbBjm2-wsgCqLNCc8m_42VRXpukcpuliZr8dRlrqBU7hUfPHpe-xbn6rsmYPhiS9c9Lau3VK83h2uaj6A6nwq1E2qbG23F9eboZrpjvrSg431ZlPE-jRVy9vNX6n7eIiSLruFwlNwyKnOSuTelzYz__m5mdILaEVTjwjidgI2e-ctdR-4jQWA\",\n    \"expiresIn\": 3600,\n    \"scopes\": \"inventory\",\n    \"tokenType\": \"Bearer\"\n}"
        '400':
          description: This status code indicates that access token cannot be generated due to the reason specified in the response
        '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.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceInput'
        description: This parameter describes the request payload of an application that is to be created in API Gateway.
        required: true
      tags:
      - Security
      summary: Exchange ID token
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/{gateway}
  /security/getJsonWebToken:
    post:
      description: Generate JWT token with custom claims supplied in the request
      operationId: getJsonWebToken-New
      responses:
        '200':
          description: This status code indicates that a JWT has been successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JWTServiceOutput'
              example: "{\n    \"expiresIn\": 600,\n    \"tokenType\": \"Bearer\",\n    \"accessToken\": \"eyJraWQiOiJzc29zIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI4MDNiN2YxNi00NWM2LTRiMWMtYmUyNi00ZGEwNTNkNDA2NDAiLCJhdWQiOiJzd2FnZ2VyLWRvYy1hcHAiLCJpc3MiOiJ0ZXN0LWdhdGV3YXktaXNzdWVyIiwiaXNBZG1pbiI6dHJ1ZSwiZXhwIjoxNTQzOTkyMDQ1LCJmaXJzdF9uYW1lIjoiQm9iIiwiaWF0IjoxNTQzOTkxNDQ1fQ.FfV4XxEbsrCgpJCZ1GOLbnRYilvCkFfsLMcm00Xxt4ujNcNY7j-_dUjQSxgn7B1njnQ3obEVe-5UkgYBT8cnnrrJtEjjjfSiY40VECrdqm1QopCx04I71hz2qWhxKphSgk6KkZVioyqme0U5LO9JAu-kw1s1IBPmRWa3iBobWAbugnw8tz5J6T3LiwWVj32dvVtJmc9boq3fkndHmRTcQuk9V6uwArUXxU78v5P92SVjZOyQRGex46FOGqPjNauCkAOno8a3oA5qjIGeFJcQ6eOddFdPc1iZ6SwCCBpAbR_qF1LbPHtG0EXE8buI_rTS2zJBn2_d9cjFkLvL3HBYxQ\"\n}"
        '400':
          description: This status code indicates that jwt cannot be generated due to the reason specified in the response
        '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.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JWTServiceInput'
        description: This parameter describes the request payload of an application that is to be created in API Gateway.
        required: true
      tags:
      - Security
      summary: Get json web token new
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/{gateway}
components:
  schemas:
    JWTServiceOutput:
      type: object
      properties:
        accessToken:
          type: string
        expiresIn:
          type: integer
          format: int64
          description: token expiry
        tokenType:
          type: string
          description: type of this token
    ServiceInput:
      type: object
      properties:
        expiry:
          type: integer
          format: int64
          description: preferred expiry of the access token
        gatewayScopes:
          type: array
          description: array of gateway scopes
          items:
            type: string
        idToken:
          type: string
          description: id token
    JWTServiceInput:
      type: object
      properties:
        claimsSet:
          type: object
          description: key value pairs in the form of json map
          additionalProperties:
            type: object
    ServiceOutput:
      type: object
      properties:
        accessToken:
          type: string
          description: generated access token
        expiresIn:
          type: integer
          format: int64
          description: token expiry
        scopes:
          type: string
          description: scopes for which the access token is issued
        tokenType:
          type: string
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator
x-refined-from:
- apigateway-InternalService.json
- web-methods-api-gateway-internalservice-openapi.yml