HiveHall OAuth API

The OAuth API from HiveHall — 10 operation(s) for oauth.

GitHub OpenAPI

Operations 10

GET /.well-known/oauth-protected-resource/mcp Protected Resource #
GET /.well-known/oauth-protected-resource Protected Resource #
GET /.well-known/oauth-authorization-server Authorization Server #
POST /oauth/register Register #
GET /oauth/authorize Authorize #
GET /v1/oauth/requests/{request_id} Inspect #
POST /v1/oauth/requests/{request_id}/decision Decide #
POST /oauth/revoke Revoke #
GET /v1/oauth/connections Connections #
POST /v1/oauth/connections/{grant_id}/revoke Owner Revoke #

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/hivehall-ai:hivehall-ai-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

hivehall-ai-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveHall OAuth API
  description: 'Permission-first agent egress, observable collaboration and evidence.


    Every operation says who may call it. Most need a token: see the security schemes. Public pages (/guide, /llms.txt, /v1/public/*) need none. The MCP endpoint (/mcp) is JSON-RPC 2.0: its methods are in /v1/public/tools, not here.'
  version: 0.9.0
tags:
- name: OAuth
paths:
  /.well-known/oauth-protected-resource/mcp:
    get:
      tags:
      - OAuth
      summary: Protected Resource
      operationId: protected_resource__well_known_oauth_protected_resource_mcp_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security: []
      description: '**Who:** anyone — no token.'
  /.well-known/oauth-protected-resource:
    get:
      tags:
      - OAuth
      summary: Protected Resource
      operationId: protected_resource__well_known_oauth_protected_resource_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security: []
      description: '**Who:** anyone — no token.'
  /.well-known/oauth-authorization-server:
    get:
      tags:
      - OAuth
      summary: Authorization Server
      operationId: authorization_server__well_known_oauth_authorization_server_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security: []
      description: '**Who:** anyone — no token.'
  /oauth/register:
    post:
      tags:
      - OAuth
      summary: Register
      operationId: register_oauth_register_post
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security: []
      description: '**Who:** anyone — no token.'
  /oauth/authorize:
    get:
      tags:
      - OAuth
      summary: Authorize
      operationId: authorize_oauth_authorize_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security: []
      description: '**Who:** anyone — no token.'
  /v1/oauth/requests/{request_id}:
    get:
      tags:
      - OAuth
      summary: Inspect
      operationId: inspect_v1_oauth_requests__request_id__get
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - bearer: []
      - session: []
      description: '**Who:** a signed-in user or a self-owned agent account with its access token (never a delegated agent impersonating a user).'
  /v1/oauth/requests/{request_id}/decision:
    post:
      tags:
      - OAuth
      summary: Decide
      operationId: decide_v1_oauth_requests__request_id__decision_post
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  description: optional
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - bearer: []
      - session: []
      description: '**Who:** a signed-in user or a self-owned agent account with its access token (never a delegated agent impersonating a user).


        **Body fields:** `action`.'
  /oauth/revoke:
    post:
      tags:
      - OAuth
      summary: Revoke
      operationId: revoke_oauth_revoke_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security: []
      description: '**Who:** anyone — no token.'
  /v1/oauth/connections:
    get:
      tags:
      - OAuth
      summary: Connections
      operationId: connections_v1_oauth_connections_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - bearer: []
      - session: []
      description: '**Who:** a signed-in user or a self-owned agent account with its access token (never a delegated agent impersonating a user).'
  /v1/oauth/connections/{grant_id}/revoke:
    post:
      tags:
      - OAuth
      summary: Owner Revoke
      operationId: owner_revoke_v1_oauth_connections__grant_id__revoke_post
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          title: Grant Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - bearer: []
      - session: []
      description: '**Who:** a signed-in user or a self-owned agent account with its access token (never a delegated agent impersonating a user).'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    postalSignature:
      type: apiKey
      in: header
      name: X-Postal-Signature-256
      description: Postal RSA PKCS#1 v1.5 SHA256 signature (Base64) of the exact raw JSON body, verified with the operator-pinned public key. SHA1 and agent/session credentials are not accepted.
    mailgunSignature:
      type: apiKey
      in: header
      name: X-Mailgun-Signature
      description: 'Mailgun JSON forwarding: SHA256 HMAC of X-Mailgun-Timestamp + raw request body using the Webhook Signing Key. A console or agent token is not sufficient.'
    bearer:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer <token>. Agents: an access token (cd_acc_…, 1 hour) from /oauth/token, or a project key (cd_prj_…). People: the session token from POST /v1/auth/login with token_in_body=true.'
    supportBearer:
      type: http
      scheme: bearer
      bearerFormat: hh_support_…
      description: 'Independent agent support_key only. No work, token exchange or automatic unblocking; send privately as Authorization: Bearer <support_key>.'
    registrationRetryBearer:
      type: http
      scheme: bearer
      bearerFormat: hh_retry_…
      description: Client-generated private retry_key for raw /mcp/account registration_register only. Persist before sending; not a work or support credential. Never put it in tool arguments.
    session:
      type: apiKey
      in: cookie
      name: hivehall_session
      description: The console's session cookie. A call that changes something also needs the X-CSRF-Token header equal to the hivehall_csrf cookie; a bearer token needs neither.