Web Methods OAuth API

The OAuth API from Web Methods — 4 operation(s) for oauth.

GitHub OpenAPI

Operations 6

GET /configurations/oauth/{id} Retrieve specific OAuth provider configuration identified by given id #
GET /configurations/oauth Retrieve OAuth configuration in the system #
PUT /configurations/oauth Update OAuth provider configuration identified by the given query parameter #
DELETE /configurations/oauth Remove OAuth provider configuration #
POST /oauth/tokens Get token using client credential grant #
GET /oauth/callback Get oauth callback #

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-oauth-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-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods OAuth API
  version: '10.11'
  description: 'Operations tagged OAuth across 3 of this provider''s published API definitions: devportal-configurations.yaml, web-methods-developer-portal-configurations-openapi.yml, web-methods-developer-portal-oauth-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:18101/portal/rest/v1
  description: Development server
tags:
- name: OAuth
paths:
  /configurations/oauth/{id}:
    get:
      tags:
      - OAuth
      parameters:
      - name: id
        in: path
        description: unique identifier of the oauth provider.
        required: true
        schema:
          type: string
      summary: Retrieve specific OAuth provider configuration identified by given id
      responses:
        '200':
          $ref: '#/components/responses/oauth_provider'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      operationId: getConfigurationsOauthById
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /configurations/oauth:
    get:
      tags:
      - OAuth
      summary: Retrieve OAuth configuration in the system
      responses:
        '200':
          $ref: '#/components/responses/oauth_configuration'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      operationId: getConfigurationsOauth
      x-operation-id-source: derived
    put:
      tags:
      - OAuth
      parameters:
      - name: id
        in: query
        description: unique identifier of the OAuth provider
        required: false
        schema:
          type: string
      summary: Update OAuth provider configuration identified by the given query parameter
      requestBody:
        description: OAuth provider configuration payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Configuration'
            examples:
              oauth_provider:
                $ref: '#/components/examples/oauth_provider'
      responses:
        '201':
          $ref: '#/components/responses/CreatedResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      operationId: putConfigurationsOauth
      x-operation-id-source: derived
    delete:
      tags:
      - OAuth
      summary: Remove OAuth provider configuration
      parameters:
      - name: id
        in: query
        description: unique identifier of the OAuth provider
        required: false
        schema:
          type: string
      responses:
        '204':
          description: Configuration is restored to default values
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      operationId: deleteConfigurationsOauth
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /oauth/tokens:
    post:
      summary: Get token using client credential grant
      description: Create a new OAuthToken for the specific application with `Client credentials` grant type
      parameters:
      - in: query
        name: credentialsIn
        description: Indicates how to supply the credentials required to the authorization server. To be sent in authorization header or in the response body. Possible values are `HEADER` or `PAYLOAD`. Default to `HEADER` if none specified.
        required: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CC_Request'
            examples:
              OAuthTokenRequest:
                $ref: '#/components/examples/TokenRequestExample'
      responses:
        201:
          $ref: '#/components/responses/201'
        400:
          $ref: '#/components/responses/BadRequest'
        401:
          $ref: '#/components/responses/Unauthorized_2'
        403:
          $ref: '#/components/responses/Forbidden_2'
        404:
          $ref: '#/components/responses/NotFound'
      tags:
      - OAuth
      operationId: postOauthTokens
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /oauth/callback:
    summary: OAuth Callback Uri
    description: This API is used as a Callback/Redirect uri for OAuth applications to recevie the authorization code
    get:
      parameters:
      - $ref: '#/components/parameters/code'
      - $ref: '#/components/parameters/grant_type'
      - $ref: '#/components/parameters/state'
      - $ref: '#/components/parameters/error'
      - $ref: '#/components/parameters/error_description'
      - $ref: '#/components/parameters/access_token'
      - $ref: '#/components/parameters/token_type'
      - $ref: '#/components/parameters/expires_in'
      - $ref: '#/components/parameters/refresh_token'
      - $ref: '#/components/parameters/scope'
      description: This API is registered as callback uri in OAuth Authorization server
      responses:
        200:
          description: Response when succesfully received the callback request from authorization server.
      tags:
      - OAuth
      summary: Get oauth callback
      x-summary-source: derived
      operationId: getOauthCallback
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
components:
  responses:
    CreatedResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CreatedResponse'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            401:
              $ref: '#/components/examples/Unauthorized'
    oauth_configuration:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Configuration'
          examples:
            oauth_provider:
              $ref: '#/components/examples/oauth_configuration'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            403:
              $ref: '#/components/examples/Forbidden'
    oauth_provider:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Configuration'
          examples:
            oauth_provider:
              $ref: '#/components/examples/oauth_provider'
    NotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_2'
          examples:
            404:
              $ref: '#/components/examples/404'
    BadRequest:
      description: User provided data is not correct
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_2'
          examples:
            400:
              $ref: '#/components/examples/400'
    Unauthorized_2:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_2'
          examples:
            401:
              $ref: '#/components/examples/401'
    Forbidden_2:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_2'
          examples:
            403:
              $ref: '#/components/examples/403'
    '201':
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  schemas:
    CreatedResponse:
      required:
      - id
      - _self
      type: object
      properties:
        id:
          type: string
        _self:
          type: string
    Configuration:
      type: object
      properties:
        category:
          type: string
          description: category of the configuration object.
        properties:
          type: array
          items:
            $ref: '#/components/schemas/ConfigurationEntry'
    ConfigurationEntry:
      type: object
      properties:
        value:
          type: string
          description: actual value
        key:
          type: string
          description: specific key to be updated
    Error:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: Error code
        message:
          type: string
          description: detailed error message if any.
    CC_Request:
      type: object
      required:
      - name
      properties:
        name:
          description: Placeholder name for the OAuthToken
          type: string
        grantType:
          description: Specific grant type used to generate the token. It could be `client_credentials` or `authorization_code` or `implicit`
          type: string
        applicationId:
          description: uuid of the application to be used for cc request flow. the caller must have read access to the application.
          type: string
        scope:
          description: scope to be used in the token generation request.
          type: string
    Error_2:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        errors:
          type: array
          items:
            type: string
  examples:
    oauth_configuration:
      value:
      - category: OAUTH
        properties:
        - key: OAUTH_PROVIDERS
          value: GOOGLE,FACEBOOK,GITHUB,SOFTWAREAG,SAGCLOUD
        - key: OAUTH_ACTIVE
          value: 'true'
    Unauthorized:
      value:
        code: 401
        message: Invalid credentials
    Forbidden:
      value:
        code: 403
        message: Insufficient privileges
    oauth_provider:
      value:
        properties:
        - key: OAUTH_API_KEYS
          value: '***************1213'
        - key: OAUTH_API_SECRETS
          value: '*************232324'
    '400':
      value:
        code: 400
        message: The payload given is invalid
    '401':
      value:
        code: 401
        message: Invalid credentials
    '403':
      value:
        code: 403
        message: Insufficient privileges
    TokenRequestExample:
      value:
        name: ClientCredentialToken
        scope: Read
        applicationId: 55de08f7-9db9-4d60-b478-2355fa2520d9
    '404':
      value:
        code: 404
        message: Unable to find the Application
  parameters:
    access_token:
      in: query
      name: access_token
      description: actual OAuthToken generated by the authorization server. This is only applicable in Implicit grant where authorization server responds back with actual token.
      required: false
      schema:
        type: string
    state:
      in: query
      name: state
      description: The state parameter preserves some state objects set by the client in the Authorization request and makes it available to the client in the response.
      required: false
      schema:
        type: string
    grant_type:
      in: query
      name: grant_type
      description: grant type used in the flow. Valid values are `client_credentials` or `authorization_code` or `implicit`
      required: false
      schema:
        type: string
    expires_in:
      in: query
      description: duration in which the token expires. usually in seconds.
      name: expires_in
      required: false
      schema:
        type: string
    scope:
      in: query
      name: scope
      description: Scope is a mechanism in OAuth 2.0 to limit an application's access to a user's account. An application can request one or more scopes, this information is then presented to the user in the consent screen, and the access token issued to the application will be limited to the scopes granted.
      required: false
      schema:
        type: string
    code:
      in: query
      description: This parameter is the authorization code that the client previously received from the authorization server.
      name: code
      required: false
      schema:
        type: string
    token_type:
      in: query
      name: token_type
      required: false
      schema:
        type: string
    refresh_token:
      in: query
      name: refresh_token
      required: false
      schema:
        type: string
    error_description:
      in: query
      name: error_description
      description: meaninful description for the error indicated usign error code
      required: false
      schema:
        type: string
    error:
      in: query
      name: error
      description: refers to the error code if occurred during OAuth grant flow
      required: false
      schema:
        type: string
x-refined-from:
- devportal-configurations.yaml
- web-methods-developer-portal-configurations-openapi.yml
- web-methods-developer-portal-oauth-openapi.yml