YouSpot OAuth API

The authorization server. See /auth.md for the walkthrough.

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 3

POST /oauth/register Dynamic client registration (RFC 7591) #
POST /oauth/token Exchange an authorization code, or refresh #
POST /oauth/revoke Drop a grant (RFC 7009) #

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/youspot-com:youspot-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

youspot-com-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: YouSpot HTTP OAuth API
  version: 1.0.0
  summary: The public HTTP surface of a personal CRM, and the OAuth server in front of the private part.
  description: 'YouSpot is a personal CRM. This document covers everything reachable over plain HTTP.


    What needs no credential: the agent index, the question endpoint, the documentation MCP server, the A2A endpoint, the public member directory and profiles, and every discovery document.


    What needs one: the product MCP server''s `tools/call`, because every tool reads or writes one person''s own contacts, companies, notes and files. Its `initialize`, `ping` and `tools/list` answer anonymously so a client can handshake before anyone signs in.


    There is no client credentials grant and no API keys. A credential here is always one person delegating their own access, through OAuth 2.1 with PKCE S256 and dynamic client registration.


    Every page on this site also answers as markdown: append `.md` to the path or send `Accept: text/markdown`. The index is at https://youspot.com/llms.txt.


    Versioning and deprecation: the product MCP server is versioned in the URL (`/mcp` tracks the latest, `/mcp/v1` stays pinned). A path being retired answers with a `Deprecation` header and a `Link` with `rel="successor-version"`; once a removal date is set it also carries `Sunset` (RFC 8594), at least 180 days before removal. Deprecated today: the `q` alias on `/ask`, in favour of `query`, with no removal date set. The policy is at https://youspot.com/docs/versioning.'
  x-deprecation-policy: https://youspot.com/docs/versioning
  termsOfService: https://youspot.com/terms
  contact:
    name: YouSpot, Inc.
    email: support@youspot.com
    url: https://youspot.com/docs
servers:
- url: https://youspot.com
  description: Production
- url: https://youspot.com/sandbox
  description: 'Sandbox: the anonymous paths below, mounted under /sandbox. /mcp answers there as the demo-account server, so tools/call needs no credential and every tool that writes is refused; the other mounted paths answer exactly as in production. The OAuth, jobs and commerce endpoints are not mounted. Described at /sandbox.'
tags:
- name: OAuth
  description: The authorization server. See /auth.md for the walkthrough.
paths:
  /oauth/register:
    post:
      tags:
      - OAuth
      operationId: registerClient
      summary: Dynamic client registration (RFC 7591)
      description: Open, with no pre-approval. Public clients are supported, so a `client_secret` is optional. Send `Idempotency-Key` so a retry after a dropped connection returns the first registration rather than making a second client.
      security: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: A unique string, usually a UUID, naming this attempt. Repeating a request under the same key returns the first answer instead of writing again, for 24 hours. The same key with a different body is a 422. The answer carries `Idempotency-Replayed`. A key is scoped to the credential that sent it, so it only ever replays your own answer and never has to be unguessable.
        schema:
          type: string
          maxLength: 255
        example: 3f1a2b6c-7d8e-4f90-a1b2-c3d4e5f60718
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientRegistration'
      responses:
        '201':
          description: The registration, including `client_id`.
          headers:
            Idempotency-Replayed:
              description: '`true` when this body is a recorded answer to an earlier request under the same key.'
              schema:
                type: string
                enum:
                - 'true'
                - 'false'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientRegistrationResponse'
        '400':
          description: The request was refused. `error` is stable; read `error_description` for the reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: This `Idempotency-Key` was already used on this operation with a different request body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /oauth/token:
    post:
      tags:
      - OAuth
      operationId: token
      summary: Exchange an authorization code, or refresh
      description: 'Refresh tokens rotate: every refresh returns a new one and invalidates the old, and reusing a spent one invalidates the whole grant chain. Store only the newest.'
      security: []
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TokenRequest'
      responses:
        '200':
          description: The access token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '400':
          description: The request was refused. `error` is stable; read `error_description` for the reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /oauth/revoke:
    post:
      tags:
      - OAuth
      operationId: revoke
      summary: Drop a grant (RFC 7009)
      description: Revoking either token kills the pair. The answer is 200 whether or not the token was live, so this cannot be used to guess which strings are real tokens.
      security: []
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - token
              properties:
                token:
                  type: string
                  description: The access or refresh token to drop.
                token_type_hint:
                  type: string
                  enum:
                  - access_token
                  - refresh_token
                  description: 'Optional, and ignored: both are looked up either way.'
                client_id:
                  type: string
                  description: The registered client.
      responses:
        '200':
          description: Revoked, or the token was never live. No body.
        '401':
          description: The request was refused. `error` is stable; read `error_description` for the reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ClientRegistrationResponse:
      type: object
      required:
      - client_id
      - redirect_uris
      additionalProperties: true
      properties:
        client_id:
          type: string
        client_secret:
          type: string
          description: Confidential clients only. A public client is registered without one.
        client_id_issued_at:
          type: integer
        redirect_uris:
          type: array
          items:
            type: string
            format: uri
        client_name:
          type: string
        grant_types:
          type: array
          items:
            type: string
        token_endpoint_auth_method:
          type: string
    ClientRegistration:
      type: object
      required:
      - client_name
      - redirect_uris
      properties:
        client_name:
          type: string
        redirect_uris:
          type: array
          items:
            type: string
            format: uri
          description: https, or http on localhost.
        grant_types:
          type: array
          items:
            type: string
            enum:
            - authorization_code
            - refresh_token
        response_types:
          type: array
          items:
            type: string
            const: code
        token_endpoint_auth_method:
          type: string
          enum:
          - none
          - client_secret_post
          - client_secret_basic
        scope:
          type: string
          const: linkedin
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          examples:
          - invalid_request
          - not_found
        error_description:
          type: string
        documentation_url:
          type: string
          format: uri
    TokenResponse:
      type: object
      required:
      - access_token
      - token_type
      properties:
        access_token:
          type: string
        token_type:
          type: string
          const: Bearer
        expires_in:
          type: integer
        refresh_token:
          type: string
        scope:
          type: string
    TokenRequest:
      type: object
      required:
      - grant_type
      - client_id
      properties:
        grant_type:
          type: string
          enum:
          - authorization_code
          - refresh_token
        client_id:
          type: string
        code:
          type: string
          description: With `authorization_code`. Single use, 60 seconds.
        code_verifier:
          type: string
          description: With `authorization_code`. PKCE S256 is mandatory.
        redirect_uri:
          type: string
          format: uri
        refresh_token:
          type: string
          description: With `refresh_token`. Rotated on every use.
  securitySchemes:
    oauth2:
      type: oauth2
      description: Authorization code with PKCE S256. Register at https://youspot.com/oauth/register; the metadata is at https://youspot.com/.well-known/oauth-authorization-server.
      flows:
        authorizationCode:
          authorizationUrl: https://youspot.com/oauth/authorize
          tokenUrl: https://youspot.com/oauth/token
          refreshUrl: https://youspot.com/oauth/token
          scopes:
            linkedin: Read and write the signed-in person's own CRM.
    bearerAuth:
      type: http
      scheme: bearer
      description: An OAuth access token, or a per-tool token the member minted at https://youspot.com/user/mcp.
externalDocs:
  description: Developer documentation
  url: https://youspot.com/docs