⚡ TL;DR Owners or admins create keys under Workspace access tokens. Choose Projects and Workspace scopes, expiry, caps and an allowlist. The secret is shown once.
Automation is great until a key leaks. Build it safe from the start.
🗝️ Creating a Key
Workspace access tokens, New API key: set the name, expiry, optional limits and allowlist, then copy the secret.
🎚️ Scopes
Projects and Workspace, each None, Read or Read & write; at least one must be granted.
📌 The Rules
Do not skip these:
- ✅ Business or Enterprise only
- ✅ Credit caps reset monthly at 00:00 UTC
- ✅ An allowlist needs at least one IPv4 entry
- ✅ Other IPs get 403 ip_restricted
- ✅ Revoking is permanent and settings cannot be edited
🔐 Storing the Secret
Keep it in a vault; it cannot be shown again.
💡 Pro tip One key per integration, with the smallest scopes that work.
Building on the Lovable API? Lord of the Wix can help. ✨
❓ Lovable API keys FAQ
Which plans have API keys?
Business and Enterprise.
Can I see the secret again?
No.
When do credit caps reset?
Monthly at 00:00 UTC.
What error does a blocked IP get?
403 ip_restricted.
Can I edit a key’s scopes?
No, create a new key.
🙏 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.