Developer Portal

Developer Portal

Build on the regenerative coordination layer.

Base URL

https://api.base44.com/v1/apps/<app_id>

SDK Import

import { base44 } from "@/api/base44Client"

Frontend SDK

The pre-initialized Base44 client gives you entity CRUD, auth, integrations, analytics, and realtime subscriptions.

import { base44 } from "@/api/base44Client";

// Entity operations
const listings = await base44.entities.Listing.list('-created_date', 20);
const listing = await base44.entities.Listing.create({ title: "Eco Retreat" });
await base44.entities.Listing.update(id, { price: 150 });

// Auth
const user = await base44.auth.me();
const isAuthed = await base44.auth.isAuthenticated();

// Integrations
const { file_url } = await base44.integrations.Core.UploadFile({ file });
const res = await base44.integrations.Core.InvokeLLM({ prompt: "..." });

// Realtime
const unsubscribe = base44.entities.Listing.subscribe((event) => {
  console.log(event.type, event.data);
});

Entity API

Every entity supports list, filter, get, create, update, delete, bulkCreate, bulkUpdate, and deleteMany operations.

// List with sort and limit
base44.entities.Listing.list('-created_date', 50)

// Filter with query
base44.entities.Listing.filter(
  { listing_type: 'event', status: 'published' },
  '-start_date', 10
)

// Bulk operations
base44.entities.Listing.bulkCreate([{ title: "A" }, { title: "B" }])
base44.entities.Listing.bulkUpdate([
  { id: "1", status: "archived" },
  { id: "2", status: "archived" }
])

Backend Functions

HTTP handlers in base44/functions/ for external API integrations, webhooks, and server-side logic.

// base44/functions/my-function/entry.ts
export default async function(req: Request): Promise<Response> {
  const body = await req.json();

  // Use service-role SDK for privileged operations
  const items = await base44.asServiceRole.entities.Listing.list();

  return Response.json({ data: items });
}

Workflows & Webhooks

Trigger-driven automations: scheduled tasks, entity events, connector webhooks, and multi-step processes.

// Workflow triggers:
// - scheduled (cron / interval / one-time)
// - entity (create / update / delete)
// - connector (webhook events)
// - app_user_auth (signup / login)

// Activities:
// - invoke_backend_function
// - compute_seconds_until (dynamic waits)

AI Agents

Specialized in-app AI agents with entity access, backend function tools, and conversation UI.

// Agent capabilities:
// - Entity CRUD (read/create/update/delete per entity)
// - Backend function invocation
// - WhatsApp / Telegram channels
// - Workflow pairing (scheduled / event-triggered)

// Active agents:
// - Regenerative Assistant (general)
// - Education Agent (learning)
// - Wellbeing Agent (health)
// - Business Advisor (enterprise)
// - Policy Advisor (public sector)
// - Impact Analyst (measurement)
// - Research Assistant (science)
// - Community Facilitator (groups)

Authentication & RLS

Platform-managed auth with Row-Level Security per entity for privacy-preserving multi-user access.

// RLS rule patterns:
// - Ownership: { "created_by_id": "{{user.id}}" }
// - Role-based: { "user_condition": { "role": "admin" } }
// - Combined: { "$or": [{ "created_by_id": "{{user.id}}" }, ...] }

// Auth SDK:
base44.auth.me()              // current user
base44.auth.isAuthenticated() // Promise<boolean>
base44.auth.logout()          // sign out
base44.users.inviteUser(email, role)

All API access requires authentication. Row-Level Security ensures users only access data they own or are authorized to see. Rate limits and usage quotas apply per plan.

We use essential cookies

They keep you signed in and the app working. See our privacy policy.