erpnext-impl-whitelisted

Implement secure whitelisted API endpoints in ERPNext/Frappe with permission checks and validation.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package --skill erpnext-impl-whitelisted
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erpnext-impl-whitelisted
Source: https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package/tree/main/skills/source/impl/erpnext-impl-whitelisted
Command: npx skills add https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package --skill erpnext-impl-whitelisted

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides structured guidance for implementing secure ERPNext REST API endpoints using Frappe whitelisted methods, ensuring consistent patterns and guardrails to reduce production failures.

Core Features & Use Cases

  • Decision trees for API type, permission models, and code placement.
  • Template workflows for public, authenticated, role-restricted, admin, and document-related APIs.
  • End-to-end implementation examples, error handling patterns, and client integration references.

Quick Start

Review the decision trees in references/decision-tree.md to design and implement ERPNext REST API endpoints using whitelisted methods.

Frequently Asked Questions about erpnext-impl-whitelisted

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create secure ERPNext REST API endpoints using whitelisted methods?

Secure ERPNext REST API endpoints are built using Frappe whitelisted methods with enforced permission guards, input validation, parameterized data access, and standardized error handling. This Skill provides decision trees and template workflows to structure these endpoints safely.

What is the best way to structure Frappe API permissions for guest and admin access?

Structuring Frappe API permissions involves applying decision trees for API type and permission models to separate public guest endpoints, authenticated document APIs, and role-restricted admin APIs using distinct template workflows and permission guards.

Does ERPNext version 15 support rate limiting for custom API endpoints?

ERPNext version 15 and above supports rate limiting for custom API endpoints. Implementing whitelisted methods includes applying rate limiting patterns alongside parameter validation and standardized response formats to ensure API stability.

How do I validate inputs and handle errors in Frappe integration webhooks?

Validating inputs and handling errors in Frappe integration webhooks requires applying standardized error handling patterns and parameter validation within whitelisted methods to ensure consistent response formats and reduce data processing failures.

Why are my ERPNext whitelisted API endpoints failing permission checks?

ERPNext whitelisted API endpoints fail permission checks when permission guards are improperly implemented or parameterized data access is missing. Using structured implementation patterns with explicit role checks and validation resolves these security failures.