SpendNod OAuth API

The oauth API from SpendNod — 7 operation(s) for oauth.

GitHub OpenAPI

Operations 8

GET /.well-known/oauth-authorization-server Oauth Metadata #
GET /oauth/authorize Oauth Authorize Form #
POST /oauth/login Oauth Login #
POST /oauth/consent Oauth Consent Submit #
POST /oauth/forgot-password Oauth Forgot Password #
POST /oauth/token Oauth Token #
POST /oauth/register Oauth Register #

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

spendnod-com-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SpendNod OAuth API
  description: Human authorization gateway for AI agent transactions. Agents submit requests; humans approve or deny via the dashboard.
  version: 0.1.0
tags:
- name: OAuth
paths:
  /.well-known/oauth-authorization-server:
    get:
      tags:
      - OAuth
      summary: Oauth Metadata
      operationId: oauth_metadata__well_known_oauth_authorization_server_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /oauth/authorize:
    get:
      tags:
      - OAuth
      summary: Oauth Authorize Form
      operationId: oauth_authorize_form_oauth_authorize_get
      parameters:
      - name: response_type
        in: query
        required: false
        schema:
          type: string
          default: code
          title: Response Type
      - 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: 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: S256
          title: Code Challenge Method
      - name: scope
        in: query
        required: false
        schema:
          type: string
          default: authorize
          title: Scope
      - name: state
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/login:
    post:
      tags:
      - OAuth
      summary: Oauth Login
      operationId: oauth_login_oauth_login_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_login_oauth_login_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/consent:
    get:
      tags:
      - OAuth
      summary: Oauth Consent Form
      operationId: oauth_consent_form_oauth_consent_get
      parameters:
      - name: lp
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Lp
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - OAuth
      summary: Oauth Consent Submit
      operationId: oauth_consent_submit_oauth_consent_post
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_consent_submit_oauth_consent_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/forgot-password:
    post:
      tags:
      - OAuth
      summary: Oauth Forgot Password
      operationId: oauth_forgot_password_oauth_forgot_password_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_forgot_password_oauth_forgot_password_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/token:
    post:
      tags:
      - OAuth
      summary: Oauth Token
      operationId: oauth_token_oauth_token_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_token_oauth_token_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/register:
    post:
      tags:
      - OAuth
      summary: Oauth Register
      operationId: oauth_register_oauth_register_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    Body_oauth_token_oauth_token_post:
      properties:
        grant_type:
          type: string
          title: Grant Type
        code:
          type: string
          title: Code
        redirect_uri:
          type: string
          title: Redirect Uri
        client_id:
          type: string
          title: Client Id
        code_verifier:
          type: string
          title: Code Verifier
      type: object
      required:
      - grant_type
      - code
      - redirect_uri
      - client_id
      - code_verifier
      title: Body_oauth_token_oauth_token_post
    Body_oauth_consent_submit_oauth_consent_post:
      properties:
        login_proof:
          type: string
          title: Login Proof
        action:
          type: string
          title: Action
          default: approve
      type: object
      required:
      - login_proof
      title: Body_oauth_consent_submit_oauth_consent_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
    Body_oauth_forgot_password_oauth_forgot_password_post:
      properties:
        email:
          type: string
          title: Email
      type: object
      required:
      - email
      title: Body_oauth_forgot_password_oauth_forgot_password_post
    Body_oauth_login_oauth_login_post:
      properties:
        client_id:
          type: string
          title: Client Id
        redirect_uri:
          type: string
          title: Redirect Uri
        code_challenge:
          type: string
          title: Code Challenge
        code_challenge_method:
          type: string
          title: Code Challenge Method
          default: S256
        scope:
          type: string
          title: Scope
          default: authorize
        state:
          type: string
          title: State
          default: ''
        response_type:
          type: string
          title: Response Type
          default: code
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - client_id
      - redirect_uri
      - code_challenge
      - email
      - password
      title: Body_oauth_login_oauth_login_post