Skip to main content

When to use

Use config: { public: true } when the caller can’t send X-Jelou-Token:
  • Webhooks from external services (Stripe, GitHub, Twilio)
  • Callbacks from payment gateways
  • Public APIs accessible from the browser

In define() mode

In app() mode — per-tool

Override: app public, tool protected

Security: validate webhooks

With public functions, the platform doesn’t validate anything. Your code is responsible:
Never trust a public function without validating the signature. Anyone can send requests to the URL.