Skip to content

Public vs Internal Routes

ZUTAX marks operations with OpenAPI extensions:

  • x-zutax-audience: public or internal
  • x-zutax-auth: expected auth mode (api_key, jwt, none)

The public schema and docs reference include only public audience routes.

Public routes are intended for external integrations and support API key auth.

Representative public resources include:

  • parties
  • invoices
  • credit notes
  • dispatches
  • directory
  • reports
  • resources
  • webhooks

Internal routes are JWT-driven operational/admin flows.

Representative internal resources include:

  • auth/bootstrap
  • workspaces
  • tenants management
  • users and roles administration
  • billing administration
  • Limits key-based integrations to bounded surface area.
  • Keeps high-risk admin operations out of public API key access.
  • Enables filtered public OpenAPI generation for partner-facing docs.
  • /docs/api/reference/ -> generated from public-only schema.
  • Internal routes remain visible in backend internal docs (/docs) but not public docs.