Frappe Resource API

The Resource API from Frappe — 2 operation(s) for resource.

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

GET /api/resource/{doctype} List documents of a DocType · List documents of a DocType #
Ask an LLM
“How do I list all Sales Invoices in Frappe?”
“Can I filter and sort a DocType's records?”
Tell an agent
List {doctype} records.
List {doctype} matching {filters}.
POST /api/resource/{doctype} Create a document of a DocType · Create a document of a DocType #
Ask an LLM
“How do I create a new Sales Invoice?”
“Can I create a record of any DocType through the API?”
Tell an agent
Create a {doctype} record.
Add a new {doctype} document.
GET /api/resource/{doctype}/{name} Read a document by name · Read a document by name #
Ask an LLM
“How do I fetch one Sales Invoice by its name?”
“What does a single DocType record contain?”
Tell an agent
Get {doctype} {name}.
Show the {doctype} record {name}.
PUT /api/resource/{doctype}/{name} Update a document · Update a document #
Ask an LLM
“How do I edit an existing Sales Invoice?”
“Can I change a field on a DocType record?”
Tell an agent
Update {doctype} {name}.
Edit the existing {doctype} record {name}.
DELETE /api/resource/{doctype}/{name} Delete a document · Delete a document #
Ask an LLM
“How do I delete a Sales Invoice?”
“Can I remove a DocType record?”
Tell an agent destructive · confirm first
Delete {doctype} {name}.
Remove the {doctype} record {name}.

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-resource-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-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Frappe Framework REST Resource 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: Resource
paths:
  /api/resource/{doctype}:
    get:
      summary: List documents of a DocType
      operationId: listDocuments
      parameters:
      - name: doctype
        in: path
        required: true
        schema:
          type: string
      - name: fields
        in: query
        schema:
          type: string
      - name: filters
        in: query
        schema:
          type: string
      - name: order_by
        in: query
        schema:
          type: string
      - name: limit_start
        in: query
        schema:
          type: integer
      - name: limit_page_length
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: List response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Resource
    post:
      summary: Create a document of a DocType
      operationId: createDocument
      parameters:
      - name: doctype
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Create response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Resource
  /api/resource/{doctype}/{name}:
    get:
      summary: Read a document by name
      operationId: getDocument
      parameters:
      - name: doctype
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Document response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Resource
    put:
      summary: Update a document
      operationId: updateDocument
      parameters:
      - name: doctype
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Update response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Resource
    delete:
      summary: Delete a document
      operationId: deleteDocument
      parameters:
      - name: doctype
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Delete response
          content:
            application/json:
              schema:
                type: object
      tags:
      - Resource
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