⚡ TL;DR A versioned REST API (/v1) for projects, deployments, embeds, workspace data, analytics and security scans. API keys need Business or Enterprise; endpoints do not use build credits.
Automate Lovable from your own systems.
🔌 What It Covers
Capabilities:
- ✅ Projects: list, get, update, delete
- ✅ Deployments: publish, unpublish, status
- ✅ Embeds: one-hour preview URLs
- ✅ Analytics and security scans
🔑 Access and Plans
API keys need Business or Enterprise and an owner or admin role. PII labels and per-project security inventory are Enterprise only.
🛂 OAuth Clients
Owners and admins register clients under Workspace settings, API keys & OAuth. Sensitive scopes need Business or Enterprise and show an unverified warning until reviewed.
🤔 API or MCP
Use the API for admin automation and reporting; use the MCP server when people build from Claude or Cursor.
💡 Pro tip Fork the Lovable collection on the Postman API Network to try every endpoint quickly.
Need Lovable automations built? Lord of the Wix can help. ✨
❓ Lovable API FAQ
Which plans include the API?
Business and Enterprise.
Does it cost credits?
No, current endpoints do not use build credits.
Is the API versioned?
Yes, /v1.
How long do embed URLs last?
One hour.
Can the API build apps with AI?
No, use the MCP server for that.
🙏 Credit: Based on public information from the Lovable documentation. Lovable is a product of Lovable. Source: docs.lovable.dev. Lord of the Wix is an independent agency and is not affiliated with Lovable.