Frappe Method API

The Method API from Frappe — 4 operation(s) for method.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/method/login Log in to the Frappe site · Login with username and password #
Ask an LLM
“How do I authenticate to the Frappe site with a username and password?”
“Can I get a session token by logging in?”
Tell an agent
Log in as admin with password secret.
Authenticate to the site using my username and password.
GET /api/method/frappe.auth.get_logged_user Get the logged-in user · Get currently logged-in user #
Ask an LLM
“Who am I logged in as on the Frappe site?”
“Can I check the current user's name?”
Tell an agent
Show the logged-in user.
Get the name of the person currently signed in.
POST /api/method/upload_file Upload a file to the site · Upload a file #
Ask an LLM
“How do I upload a file to the Frappe site?”
“Can I attach a document to a record through the API?”
Tell an agent
Upload this file to the site.
Attach a document to a record using the file upload endpoint.
GET /api/method/{dotted_path} Call a whitelisted read-only method · Call a whitelisted Python method (read-only) #
Ask an LLM
“Can I run a whitelisted Python method that only reads data?”
“What's the way to invoke a read-only server method by its dotted path?”
Tell an agent
Call the read-only method {dotted_path}.
Run the whitelisted read-only method {dotted_path} and return its result.
POST /api/method/{dotted_path} Call a whitelisted state-changing method · Call a whitelisted Python method (state-changing) #
Ask an LLM
“How do I run a whitelisted Python method that changes data?”
“Can I invoke a state-changing server method by its dotted path?”
Tell an agent
Call the state-changing method {dotted_path}.
Run the whitelisted method {dotted_path} that changes data.

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/frappe:frappe-method-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

frappe-method-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Frappe Framework REST Method API
  description: Auto-generated REST API exposing every Frappe DocType for CRUD, filtered list queries, and whitelisted Python method calls.
  version: 1.0.0
servers:
- url: https://{site}
  description: Frappe site base URL
  variables:
    site:
      default: example.frappe.cloud
      description: Frappe site hostname
security:
- apiKey: []
tags:
- name: Method
paths:
  /api/method/login:
    post:
      summary: Login with username and password
      operationId: login
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Login response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Method
  /api/method/frappe.auth.get_logged_user:
    get:
      summary: Get currently logged-in user
      operationId: getLoggedUser
      responses:
        '200':
          description: Logged user response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Method
  /api/method/upload_file:
    post:
      summary: Upload a file
      operationId: uploadFile
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
      responses:
        '200':
          description: Upload response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Method
  /api/method/{dotted_path}:
    get:
      summary: Call a whitelisted Python method (read-only)
      operationId: callMethodGet
      parameters:
      - name: dotted_path
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Method response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Method
    post:
      summary: Call a whitelisted Python method (state-changing)
      operationId: callMethodPost
      parameters:
      - name: dotted_path
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Method response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Method
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: token <api_key>:<api_secret>
x-generated-from: https://docs.frappe.io/framework/user/en/api/rest
x-generated-by: claude-crawl-2026-05-08