IBM API Connect Oauth2 Action API

The Oauth2 Action API from IBM API Connect — 1 operation(s) for oauth2 action.

GitHub OpenAPI

Operations 2

GET /oauth2/redirect Authorization provider redirect endpoint #
POST /oauth2/redirect Authorization provider redirect endpoint #

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/ibm-api-connect:ibm-api-connect-oauth2-action-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

ibm-api-connect-oauth2-action-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  x-ibm-name: consumer
  version: 2.0.0
  title: IBM API Connect Platform - Consumer Oauth2 Action API
  description: This API provides operations for accessing API consumer content
  termsOfService: https://www.ibm.com/legal
  contact:
    name: IBM
    url: https://www.ibm.com
    email: help@ibm.com
  license:
    name: tbd
    url: https://tbd.com
servers:
- url: ''
  description: Consumer apim base path
tags:
- name: Oauth2 Action
paths:
  /oauth2/redirect:
    get:
      summary: Authorization provider redirect endpoint
      operationId: oauth2_redirect_get
      parameters:
      - $ref: '#/components/parameters/state'
      - $ref: '#/components/parameters/code'
      - $ref: '#/components/parameters/error'
      - $ref: '#/components/parameters/error_description'
      - $ref: '#/components/parameters/error_uri'
      - $ref: '#/components/parameters/oauth_token'
      - $ref: '#/components/parameters/oauth_verifier'
      responses:
        '302':
          description: Success
        4XX:
          $ref: '#/components/responses/Error'
        5XX:
          $ref: '#/components/responses/Error'
      tags:
      - Oauth2 Action
    post:
      summary: Authorization provider redirect endpoint
      operationId: oauth2_redirect_post
      parameters:
      - $ref: '#/components/parameters/state'
      - $ref: '#/components/parameters/code'
      - $ref: '#/components/parameters/error'
      - $ref: '#/components/parameters/error_description'
      - $ref: '#/components/parameters/error_uri'
      - $ref: '#/components/parameters/oauth_token'
      - $ref: '#/components/parameters/oauth_verifier'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/OauthRedirect'
      responses:
        '302':
          description: Success
        4XX:
          $ref: '#/components/responses/Error'
        5XX:
          $ref: '#/components/responses/Error'
      tags:
      - Oauth2 Action
components:
  parameters:
    state:
      name: state
      in: query
      description: Oauth2 state
      required: false
      schema:
        type: string
    error_uri:
      name: error_uri
      in: query
      description: Oauth2 error_uri
      required: false
      schema:
        type: string
    code:
      name: code
      in: query
      description: Oauth2 code
      required: false
      schema:
        type: string
    error_description:
      name: error_description
      in: query
      description: Oauth2 error_description
      required: false
      schema:
        type: string
    error:
      name: error
      in: query
      description: Oauth2 error
      required: false
      schema:
        type: string
    oauth_verifier:
      name: oauth_verifier
      in: query
      description: Oauth Verifier for Twitter
      required: false
      schema:
        type: string
    oauth_token:
      name: oauth_token
      in: query
      description: Oauth Token for Twitter
      required: false
      schema:
        type: string
  schemas:
    Error:
      type: object
      additionalProperties: false
      properties:
        status:
          type: integer
          minimum: 400
          maximum: 599
        message:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
    OauthRedirect:
      type: object
      additionalProperties: true
      properties:
        code:
          type: string
        state:
          type: string
        error:
          type: string
        error_description:
          type: string
        error_uri:
          type: string
  responses:
    Error:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
        application/yaml:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        password:
          tokenUrl: /token
          refreshUrl: /token
          scopes:
            app:manage: Create a Application object, Clear the Application objects, Update the Application object by name or id, Delete the Application object by name or id, Create a Application Credential object, Clear the Application Credential objects, Update the Application Credential object by name or id, Delete the Application Credential object by name or id, Create a Subscription object, Clear the Subscription objects, Update the Subscription object by name or id, Delete the Subscription object by name or id
            app:view: List the Application objects, Get the Application object by name or id, List the Application Credential objects, Get the Application Credential object by name or id, List the Subscription objects, Get the Subscription object by name or id
            my:manage: Update the Me object, Delete the Me object
            my:view: Get the Me object, List the My Permission objects, List the My Organization objects
            org:manage: Create a My Organization object, Update the Organization object by name or id, Delete the Organization object by name or id, Create a Member Invitation object, Clear the Member Invitation objects, Delete the Member Invitation object by name or id, Clear the Member objects, Update the Member object by name or id, Delete the Member object by name or id, Create a Payment Method object, Update the Payment Method object by name or id, Delete the Payment Method object by name or id
            org:view: List all Permission objects in all collections, Get the Organization object by name or id, Get the Group object by name or id, List the Member Invitation objects, Get the Member Invitation object by name or id, List the User Registry objects, Get the User Registry object by name or id, Get the User object by name or id, List the Associate objects, Get the Associate object by name or id, List the Member objects, Get the Member object by name or id, List the Role objects, Get the Role object by name or id, Get the Billing object by name or id, List the Billing objects, List the Payment Method objects, Get the Payment Method object by name or id, List the Payment Method Type objects, Get the Payment Method Type object by name or id
        authorizationCode:
          authorizationUrl: /oauth2/authorize
          tokenUrl: /token
          refreshUrl: /token
          scopes:
            app:manage: Create a Application object, Clear the Application objects, Update the Application object by name or id, Delete the Application object by name or id, Create a Application Credential object, Clear the Application Credential objects, Update the Application Credential object by name or id, Delete the Application Credential object by name or id, Create a Subscription object, Clear the Subscription objects, Update the Subscription object by name or id, Delete the Subscription object by name or id
            app:view: List the Application objects, Get the Application object by name or id, List the Application Credential objects, Get the Application Credential object by name or id, List the Subscription objects, Get the Subscription object by name or id
            my:manage: Update the Me object, Delete the Me object
            my:view: Get the Me object, List the My Permission objects, List the My Organization objects
            org:manage: Create a My Organization object, Update the Organization object by name or id, Delete the Organization object by name or id, Create a Member Invitation object, Clear the Member Invitation objects, Delete the Member Invitation object by name or id, Clear the Member objects, Update the Member object by name or id, Delete the Member object by name or id, Create a Payment Method object, Update the Payment Method object by name or id, Delete the Payment Method object by name or id
            org:view: List all Permission objects in all collections, Get the Organization object by name or id, Get the Group object by name or id, List the Member Invitation objects, Get the Member Invitation object by name or id, List the User Registry objects, Get the User Registry object by name or id, Get the User object by name or id, List the Associate objects, Get the Associate object by name or id, List the Member objects, Get the Member object by name or id, List the Role objects, Get the Role object by name or id, Get the Billing object by name or id, List the Billing objects, List the Payment Method objects, Get the Payment Method object by name or id, List the Payment Method Type objects, Get the Payment Method Type object by name or id
x-ibm-configuration:
  testable: false