Skip to content
Lovable logo

Connectors / AI · HTTP Connector

Lovable integration and API

Create an embed URL and publish a project in Lovable, and start a workflow when Lovable sends “Project created”.

What can you do with Lovable on Tray.ai?

Lovable is an AI app builder that turns chat prompts into working web apps, then hosts, publishes, and security-scans the projects a workspace creates. Tray.ai connects to Lovable through the HTTP Connector, so your workflows can call the Lovable API alongside the rest of your stack.

  • When Lovable sends “Project published”, post the live link in your team chat.
  • When Lovable sends “Project created”, log it in your IT asset register for review.
  • List scan findings and open a ticket for each one in your issue tracker.
  • Unpublish a project when security flags it in your incident tracker.
Connects through
HTTP Connector
Authentication
An API key in a request header or OAuth 2.0
Base URL
https://api.lovable.dev

Set it up

Connect Lovable to Tray.ai

Each step uses Lovable's own API details, from its documentation.

Save Lovable's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.lovable.dev as the base URL. Or paste a cURL example from Lovable's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List projects”

It's one of 19 documented actions, under Projects. The response comes back as data the next step can map into your other apps.

Start workflows from Lovable events

Give Lovable the URL of a Tray.ai webhook trigger. “Project created” can then start a workflow, and so can 3 other events.

Workflows to build with Lovable

Connect Lovable with Jira, Slack and Google Sheets

Each one uses actions and events from Lovable's own API documentation.

Create Jira issues from Lovable security scan findings

When

Project published

Then

  1. List security scans for the project
  2. List scan findings
  3. Create an issue for each finding in Jira

With Jira

Post new Lovable projects to Slack for IT review

When

Project created

Then

  1. Get a project from Lovable
  2. Post the project name and owner to the IT channel in Slack

With Slack

Track Lovable workspace usage in Google Sheets

When

On a schedule

Then

  1. Get workspace analytics from Lovable
  2. Add the usage numbers to the tracking sheet in Google Sheets

With Google Sheets

Apps you can build on Lovable data

Internal tools your team can build with an AI assistant, each one using Lovable calls from its API documentation.

Security findings board

Lists projects with their latest security scans and findings so IT can follow up on issues.

Published apps inventory

Lists projects with publish status and collaborators and lets an admin unpublish one.

Workspace usage dashboard

Shows workspace analytics and per-project analytics in one view.

Give your AI agents Lovable tools

Build an MCP server on Lovable in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List projects
  • Publish a project
  • List workspaces
  • List workspace members
  • List security scans
  • Get project analytics
  • Get a project
  • Update a project

What the Lovable API covers

6 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Projects

  • List projects
  • Get a project
  • Update a project
  • Delete a project
  • Create an embed URL

Publishing

  • Publish a project
  • Unpublish a project
  • Get publish status

Workspaces

  • List workspaces
  • Get a workspace
  • List workspace folders

Members

  • List workspace members
  • List project collaborators
  • List workspace groups

Security scans

  • List security scans
  • Get a security scan
  • List scan findings

Analytics

  • Get project analytics
  • Get workspace analytics

Events Lovable can send to a Tray.ai webhook trigger

  • Project created
  • Project published
  • Project transferred
  • Project deleted

Checked against Lovable's own documentation on 2026-11-07

docs.lovable.dev/api-reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in Lovable?

The Lovable API documents 19 actions across 6 resources (Projects, Publishing, Workspaces, Members, Security scans, Analytics). For example: List projects; Publish a project; List workspaces. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Lovable?

The Lovable API uses an API key in a request header and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Lovable events can start a Tray.ai workflow?

Lovable sends 4 events to a webhook URL, for example: Project created; Project published; Project transferred; Project deleted. A Tray.ai webhook trigger receives them and starts a workflow.

See Lovable working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.