API Reference
Introduction
This API reference describes the RESTful and real-time APIs provided by Cortado.js. The framework enables fast and structured development of backend applications with built-in support for routing and assets management.
Authentication
Cortado.js supports token-based authentication (e.g., JWT) and custom schemes via middleware. Routes can be protected using request headers and server-side token verification.
If you manage multiple tenants, organizations, or client environments within a single Cortado.js backend, you can pass custom headers to specify which organization or project context should be used during the request.
Routes
Cortado.js allows you to define REST endpoints with full control over routing, parameters, and middleware.
Routes support the following methods:
Assets
Manage file uploads, metadata and thumbnails securely.
Routing
Create, retrieve, and delete API routing configurations easily.
Last updated on
Jul 23, 2025