Eon.io OAuth API

The Oauth API from Eon.io, for oauth.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 10

GET /oauth/login Oauth Login #
GET /api/oauth/request Oauth Request #
POST /api/oauth/approve Oauth Approve #
POST /oauth/register Mcp Register #
GET /oauth/authorize Mcp Authorize #
GET /oauth/connect Mcp Connect #
GET /api/oauth/console/request Mcp Pending #
POST /api/oauth/console/approve Mcp Consent #
POST /oauth/token Mcp Token #
POST /oauth/revoke Mcp Revoke #

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/eon.io:eon.io-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

eon.io-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Eon Era OAuth API
  description: Generate a synthetic environment across the connector fleet.
  version: 0.1.0
tags:
- name: OAuth
paths:
  /oauth/login:
    get:
      summary: Oauth Login
      description: 'The consent screen an agent''s browser lands on mid-authorization.


        The control-plane parked the agent''s ``/authorize`` request and sent the

        browser here; the customer signs in, picks the environment the agent

        may reach, and leaves with their agent holding a token bound to it.'
      operationId: oauth_login_oauth_login_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - OAuth
  /api/oauth/request:
    get:
      summary: Oauth Request
      description: 'What the parked authorization is asking for, so the page can say so.


        Behind the session: the request id travels in a URL (and its referrer),

        and this reads it through the operator credential the website holds, so

        without the gate anyone holding a link could see what a customer''s agent

        is asking for. The page therefore names the client only once the

        customer it is asking about has signed in.'
      operationId: oauth_request_api_oauth_request_get
      parameters:
      - name: request
        in: query
        required: true
        schema:
          type: string
          title: Request
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Oauth Request Api Oauth Request Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - OAuth
  /api/oauth/approve:
    post:
      summary: Oauth Approve
      description: Issue the agent its authorization code, bound to a tenant this customer owns.
      operationId: oauth_approve_api_oauth_approve_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApproveRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Oauth Approve Api Oauth Approve Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - OAuth
  /oauth/register:
    post:
      summary: Mcp Register
      description: 'Register an MCP client, so it can start an authorization by itself.


        Open registration, which is what the MCP clients expect and what a demo

        console wants: a registration grants nothing on its own, since every

        code it can ask for is one a signed-in customer chose to approve. Open,

        but not free: a registration is a signed client this console will honour,

        so the asking is capped per address.'
      operationId: mcp_register_oauth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterClientRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - OAuth
  /oauth/authorize:
    get:
      summary: Mcp Authorize
      description: 'Park the client''s authorization and send its browser to the consent page.


        A client or callback this console does not recognise is answered here

        rather than by redirecting: forwarding an error (let alone a code) to an

        address nobody registered is how an authorization server becomes an open

        redirect. Everything else is the client''s own mistake and travels back

        to its callback as an OAuth error, which is where it can act on it.'
      operationId: mcp_authorize_oauth_authorize_get
      parameters:
      - name: client_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Client Id
      - name: redirect_uri
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Redirect Uri
      - name: response_type
        in: query
        required: false
        schema:
          type: string
          default: code
          title: Response Type
      - name: code_challenge
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Code Challenge
      - name: code_challenge_method
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Code Challenge Method
      - name: state
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: State
      - name: scope
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Scope
      - name: resource
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Resource
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - OAuth
  /oauth/connect:
    get:
      summary: Mcp Connect
      description: The consent screen an MCP client's browser lands on to reach the console.
      operationId: mcp_connect_oauth_connect_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - OAuth
  /api/oauth/console/request:
    get:
      summary: Mcp Pending
      description: What the parked authorization asks for, once the customer has signed in.
      operationId: mcp_pending_api_oauth_console_request_get
      parameters:
      - name: request
        in: query
        required: true
        schema:
          type: string
          title: Request
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Mcp Pending Api Oauth Console Request Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - OAuth
  /api/oauth/console/approve:
    post:
      summary: Mcp Consent
      description: Issue the client its authorization code, bound to this account.
      operationId: mcp_consent_api_oauth_console_approve_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsentRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Mcp Consent Api Oauth Console Approve Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - OAuth
  /oauth/token:
    post:
      summary: Mcp Token
      description: 'Redeem a code — or a refresh token — for a token the client can carry.


        What comes back is a credential of the MCP endpoint''s own kind, not the

        console''s session cookie: a client''s credential store and every

        transcript it wrote the token into would otherwise be somewhere to pick

        up a browser login on the account. It is short-lived and renewable, so a

        copy that leaks stops working within the hour and the customer is not

        sent back to the browser for it.


        Read off the form rather than through ``Form(...)`` parameters so the

        token endpoint stays a plain ``application/x-www-form-urlencoded`` route

        with no multipart parser behind it, which is all OAuth asks for.'
      operationId: mcp_token_oauth_token_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - OAuth
  /oauth/revoke:
    post:
      summary: Mcp Revoke
      description: 'Hand a token back (RFC 7009), so it stops working before it expires.


        A client signing out is the only party that can end an MCP credential —

        it is not a cookie a customer can drop from a browser — and the answer is

        ``200`` either way, as the RFC requires: telling a caller whether the

        string it presented was a live token of ours is itself an oracle. The

        ``client_id`` has to be the one the token was issued to, which is as much

        of "the client that owns it is asking" as a public client can prove.'
      operationId: mcp_revoke_oauth_revoke_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - OAuth
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ApproveRequest:
      properties:
        request:
          type: string
          title: Request
        tenant:
          type: string
          title: Tenant
      type: object
      required:
      - request
      - tenant
      title: ApproveRequest
      description: 'A customer finishing an agent''s login: which environment it may reach.'
    ConsentRequest:
      properties:
        request:
          type: string
          title: Request
      additionalProperties: false
      type: object
      required:
      - request
      title: ConsentRequest
      description: A customer allowing the MCP client whose authorization is parked here.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RegisterClientRequest:
      properties:
        redirect_uris:
          items:
            type: string
          type: array
          title: Redirect Uris
        client_name:
          type: string
          title: Client Name
          default: ''
      type: object
      title: RegisterClientRequest
      description: 'An MCP client registering itself against the console''s own MCP surface.


        RFC 7591 lets a client send more than this; the extra fields are read past

        rather than refused, because a client that describes itself in more detail

        than the console records should still be able to connect.'