Tandem OAuth API

The oauth API from Tandem, for oauth.

GitHub OpenAPI

Operations 11

GET /.well-known/mcp-registry-auth Mcp Registry Auth #
GET /.well-known/oauth-protected-resource Protected Resource Metadata #
GET /.well-known/oauth-authorization-server Authorization Server Metadata #
POST /oauth/register Register Client #
GET /oauth/authorize Authorize #
POST /oauth/consent Consent #
POST /oauth/token Token #
POST /login Login #
POST /logout Logout #
GET /oauth/whoami Oauth Whoami #
GET /account/info Account Info #

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/tandem-cc-com:tandem-cc-com-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

tandem-cc-com-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tandem OAuth API
  description: Communication fabric for human+Claude pairs
  version: 0.0.1
tags:
- name: OAuth
paths:
  /.well-known/mcp-registry-auth:
    get:
      tags:
      - OAuth
      summary: Mcp Registry Auth
      description: Serve the MCP Registry HTTP-auth proof string (env-configured).
      operationId: mcp_registry_auth__well_known_mcp_registry_auth_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/oauth-protected-resource:
    get:
      tags:
      - OAuth
      summary: Protected Resource Metadata
      description: RFC 9728 Protected Resource Metadata for our /mcp endpoint.
      operationId: protected_resource_metadata__well_known_oauth_protected_resource_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Protected Resource Metadata  Well Known Oauth Protected Resource Get
  /.well-known/oauth-authorization-server:
    get:
      tags:
      - OAuth
      summary: Authorization Server Metadata
      description: RFC 8414 Authorization Server Metadata.
      operationId: authorization_server_metadata__well_known_oauth_authorization_server_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Authorization Server Metadata  Well Known Oauth Authorization Server Get
  /oauth/register:
    post:
      tags:
      - OAuth
      summary: Register Client
      description: 'RFC 7591 Dynamic Client Registration.


        Accepts a JSON body with at least `redirect_uris` and `client_name`.

        Returns a generated client_id plus the registered metadata.'
      operationId: register_client_oauth_register_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Payload
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Register Client Oauth Register Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/authorize:
    get:
      tags:
      - OAuth
      summary: Authorize
      description: RFC 6749 §4.1.1 + OAuth 2.1 §1.3.1 + RFC 7636 + RFC 8707.
      operationId: authorize_oauth_authorize_get
      parameters:
      - name: response_type
        in: query
        required: true
        schema:
          type: string
          title: Response Type
      - name: client_id
        in: query
        required: true
        schema:
          type: string
          title: Client Id
      - name: redirect_uri
        in: query
        required: true
        schema:
          type: string
          title: Redirect Uri
      - name: code_challenge
        in: query
        required: true
        schema:
          type: string
          title: Code Challenge
      - name: code_challenge_method
        in: query
        required: true
        schema:
          type: string
          title: Code Challenge Method
      - name: resource
        in: query
        required: true
        schema:
          type: string
          title: Resource
      - name: scope
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Scope
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/consent:
    post:
      tags:
      - OAuth
      summary: Consent
      operationId: consent_oauth_consent_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Payload
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Consent Oauth Consent Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/token:
    post:
      tags:
      - OAuth
      summary: Token
      operationId: token_oauth_token_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_token_oauth_token_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Token Oauth Token Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /login:
    post:
      tags:
      - OAuth
      summary: Login
      description: 'Create a session cookie from a valid bearer token.


        Body:

        {

        "token": "tandem_..." # existing bearer (admin-issued

        # OR OAuth-issued — both work)

        }


        Sets a HttpOnly Secure SameSite=Lax cookie on success. Returns

        {"ok": true, "handle": "..."}; the page is responsible for

        navigating to wherever ?next= said to go (consent UI by default).'
      operationId: login_login_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Payload
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /logout:
    post:
      tags:
      - OAuth
      summary: Logout
      description: Revoke the calling session cookie. Idempotent.
      operationId: logout_logout_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /oauth/whoami:
    get:
      tags:
      - OAuth
      summary: Oauth Whoami
      description: 'Tell the consent UI which handle is currently logged in.


        Used by /site/oauth-consent.html to render "Sarah, claude.ai

        wants to..." instead of "Someone''s claude.ai...".'
      operationId: oauth_whoami_oauth_whoami_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Oauth Whoami Oauth Whoami Get
  /account/info:
    get:
      tags:
      - OAuth
      summary: Account Info
      description: 'Full profile for the signed-in handle — drives account.html.


        Kept separate from /oauth/whoami (which stays a one-field, no-DB

        identity check used on every page''s nav) so the heavier profile

        query only runs on the account page itself. handle_id comes from

        the session cookie, so a user can only ever read their own row.'
      operationId: account_info_account_info_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Account Info Account Info Get
components:
  schemas:
    Body_token_oauth_token_post:
      properties:
        grant_type:
          type: string
          title: Grant Type
        client_id:
          type: string
          title: Client Id
        code:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
        redirect_uri:
          anyOf:
          - type: string
          - type: 'null'
          title: Redirect Uri
        code_verifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Code Verifier
        resource:
          anyOf:
          - type: string
          - type: 'null'
          title: Resource
        refresh_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Refresh Token
        scope:
          anyOf:
          - type: string
          - type: 'null'
          title: Scope
      type: object
      required:
      - grant_type
      - client_id
      title: Body_token_oauth_token_post
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError