KBAISE/ for lovable
Library
Docs

Lovable API

Shippingchecked 16h agoOfficial page
The short version

The Lovable API lets you deploy projects, view security scans, and embed project previews from your own external tools and scripts. Using workspace keys requires a paid Business or Enterprise plan, while basic account connections are available to all workspace admins.

Workspace owners and administrators who want to control their projects and access workspace data from external software.

Words decoded

REST API
A standardized way for external programs and scripts to talk to a service over the internet to read or change data.
OAuth
A secure sign-in system that lets users give an outside app permission to access their account without sharing their password.
PII
Personally Identifiable Information, meaning sensitive data that can identify an individual person, such as names, emails, or phone numbers.
MCP server
A standard connection tool that allows external AI assistants (like Claude or Cursor) to directly read and edit your projects.

Where people get stuck

  • API keys require an owner or admin role on a Business or Enterprise plan; they are not available on lower tiers.
  • Embedded preview links expire after one hour and only work on secure HTTPS websites, showing the build preview rather than the full editor or live app.
  • Reading PII labels and workspace security inventories requires an Enterprise plan and requires sensitive data scanning to be turned on.
  • OAuth clients using sensitive project or workspace scopes will show an unverified app warning to users until Lovable verifies them.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.