Feature
A complete REST API, generated automatically
Every table gets a full set of endpoints — list, create, get, update, delete, filter, sort. Authenticated. Deployed. Ready.
Try it free →What is API Generation?
Backenly's API generation feature creates a complete set of REST endpoints for every database table in your project. You do not write any API code. Every table gets list, create, get, update, and delete endpoints, with support for filtering, sorting, and pagination. All endpoints are properly authenticated and respect the row-level security policies applied to your database.
How it works
When Backenly generates your database schema, it simultaneously generates the corresponding API definitions. Each table gets a full set of CRUD endpoints following REST conventions. The API is deployed automatically and accessible via a public base URL. Endpoints require a valid API key for server-to-server access, or a user JWT token for end-user operations — enforced at both the API and database level.
Why it matters
Writing REST API endpoints is repetitive, time-consuming, and error-prone. You have to handle routing, input validation, authentication checks, SQL queries, error handling, and response formatting for every endpoint — multiplied by every table. Backenly generates all of this correctly and consistently, saving weeks of work and eliminating a common source of bugs.
What you get
Full CRUD per table
Every table gets list (GET /table), create (POST /table), get (GET /table/:id), update (PATCH /table/:id), and delete (DELETE /table/:id) endpoints automatically.
Filtering, sorting, and pagination
All list endpoints support filtering by any column, sorting by any column in ascending or descending order, and pagination via limit/offset — all without writing any query logic.
Dual authentication modes
API endpoints accept project API keys (for server-to-server use) or user JWT tokens (for end-user operations). Row-level security enforces user-specific data access automatically.
JavaScript SDK included
The Backenly SDK wraps the REST API with a clean JavaScript interface — backend.tableName.list(), .create(), .get(), .update(), .delete() — callable from any JavaScript frontend.
Common questions
What API format does Backenly generate?
Backenly generates standard JSON REST APIs. All requests and responses use JSON. Endpoints follow REST conventions for resource naming and HTTP methods.
Can I add custom API logic or custom endpoints?
You can extend your backend with custom event triggers and serverless AI functions. These allow you to add custom business logic that runs in response to API events or on a schedule.
Is there API documentation?
Your project's API structure is visible in the Backenly dashboard. The generated SDK also documents available methods for each table.