What problem does it solve?
Frappe API integrations often fail in production due to incorrect endpoints, missing headers, inconsistent response handling, weak authentication, missing permission checks, and unsafe request patterns.
Core Features & Use Cases
- REST endpoint design and versioning: Choose the correct v1 versus v2 routes (v14/v15/v16) for CRUD operations, document methods, copy, and metadata/count calls.
- RPC (whitelisted methods) integration patterns: Implement and call server-side whitelisted functions with strict authentication, method restrictions, and predictable response structures.
- Secure authentication and webhooks: Apply token auth, OAuth2, or session/cookie auth correctly, and verify webhook integrity with HMAC signatures.
- Operational safety rules: Enforce pagination, JSON response headers, external request timeouts, input validation, and permission checks to prevent silent failures and security issues.
Quick Start
Use the frappe-core-api skill to build a token-authenticated REST + webhook integration for Frappe v15 that paginates results, calls whitelisted server methods, and validates webhook signatures using the provided request patterns.