ASAP OAUTH Clients API

Organization-private MCP clients (session Admin/Owner only).

Operations 3

GET /v1/oauth/clients List private clients of the active organization #
POST /v1/oauth/clients Create a client bound to the active organization #
DELETE /v1/oauth/clients/{id} Revoke a client and every access granted to it #

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/asap-cool:asap-cool-oauth-clients-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

asap-cool-oauth-clients-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ASAP Platform OAUTH Clients API
  description: 'Public HTTP API for ASAP Platform (api.asap.cool).


    All `/v1` responses are wrapped in a standard envelope. Success responses are `{ "data": , "meta": { "request_id", "next_cursor"?, "has_more"? } }` — the schema documented for each operation describes the inner `data` value. Errors are `{ "error": { "code", "message", "field"?, "request_id" } }`. Every response also carries an `X-Request-Id` header matching `meta.request_id` / `error.request_id`.'
  license:
    name: BUSL-1.1
  version: 0.0.0
servers:
- url: https://api.asap.cool
  description: Production
tags:
- name: OAuth Clients
  description: Organization-private MCP clients (session Admin/Owner only).
paths:
  /v1/oauth/clients:
    get:
      tags:
      - OAuth Clients
      summary: List private clients of the active organization
      operationId: listOauthClients
      responses:
        '200':
          description: Active private clients
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientView'
        '401':
          description: Session required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Admin role required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
    post:
      tags:
      - OAuth Clients
      summary: Create a client bound to the active organization
      operationId: createOauthClient
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateClientRequest'
        required: true
      responses:
        '201':
          description: Private client created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientView'
        '401':
          description: Session required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Admin role required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '422':
          description: Invalid name or callback
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
  /v1/oauth/clients/{id}:
    delete:
      tags:
      - OAuth Clients
      summary: Revoke a client and every access granted to it
      operationId: revokeOauthClient
      parameters:
      - name: id
        in: path
        description: Client identifier
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Client revoked
        '401':
          description: Session required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Admin role required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: Client not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    CreateClientRequest:
      type: object
      description: Parameters for a new organization-private client.
      required:
      - client_name
      - redirect_uris
      properties:
        client_name:
          type: string
          description: Label of at most 120 characters.
        redirect_uris:
          type: array
          items:
            type: string
          description: One to ten exact loopback HTTP callbacks, each at most 2048 characters.
      additionalProperties: false
    ErrorBody:
      type: object
      description: 'Generic error body returned by API handlers when they fail. `code` is a

        stable machine-readable token; `message` is human-friendly and meant for

        surfacing to end users.'
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Stable machine token (e.g. `invalid_credentials`).
        field:
          type:
          - string
          - 'null'
          description: Offending request field for validation errors, when known.
        message:
          type: string
          description: Human-readable message.
    ClientView:
      type: object
      description: Private client metadata; the identifier is public, not a credential.
      required:
      - client_id
      - org_id
      - client_name
      - redirect_uris
      - created_at
      properties:
        client_id:
          type: string
          format: uuid
          description: Public OAuth identifier configured in the MCP client.
        client_name:
          type: string
          description: Organization-defined display name, not a verified software identity.
        created_at:
          type: string
          description: RFC3339 creation timestamp.
        org_id:
          type: string
          format: uuid
          description: Owning organization, the only possible target of a consent.
        redirect_uris:
          type: array
          items:
            type: string
          description: Exact registered loopback callbacks.
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
    session:
      type: apiKey
      in: cookie
      name: asap_session