Skip to content
Leadpages logo

Connectors / Marketing · HTTP Connector

Automate Leadpages with Tray.ai

Create a page, create a site and upload an asset in Leadpages. Connect Leadpages to the rest of your marketing stack with Tray.ai.

What can you do with Leadpages on Tray.ai?

Leadpages is a landing page and website builder for small businesses, with forms for capturing leads, blogs, custom domains, and page analytics. Tray.ai connects to Leadpages through the HTTP Connector, so your workflows can call the Leadpages API alongside the rest of your stack.

  • List form submissions every hour and add new leads to your CRM.
  • Create a blog post in Leadpages when a draft is approved in your content calendar.
  • Export form data each week and save it to your shared drive for the marketing team.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0

Set it up

Connect Leadpages to Tray.ai

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

Step 1

Save Leadpages's API token

Save the token Leadpages issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Import a request from Leadpages's docs

Add an HTTP Client step and paste a cURL example from Leadpages's API docs. Tray.ai fills in the method, URL, headers, and query.

Step 3

Start with “List pages”

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

Step 4

Hand it to an AI agent

Wrap “Create a page” and “Update a page” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Leadpages

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

Send Leadpages form submissions to HubSpot contacts

When

On a schedule

Then

  1. List form submissions in Leadpages since the last run
  2. Create or update a contact in HubSpot for each submission

With HubSpot

Back up Leadpages form data to Google Sheets

When

On a schedule

Then

  1. Export form data from Leadpages
  2. Add the rows to the leads sheet in Google Sheets

With Google Sheets

Add new Dropbox images to Leadpages assets

When

A file is added to a Dropbox folder

Then

  1. Create a shared link for the new file in Dropbox
  2. Import an asset from a URL in Leadpages using that link

With Dropbox

Apps you can build on Leadpages data

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

Form submission inbox

Lists form submissions across pages so the sales team can follow up and export the data.

Site and domain inventory

Lists every site, page and custom domain in the account so marketing can find and clean up old ones.

Blog post tracker

Lists blog posts and lets a writer create a new post on an existing blog.

Give your AI agents Leadpages tools

Build an MCP server on Leadpages 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

  • Create a page
  • Create a site
  • Upload an asset
  • Create a blog
  • List form submissions
  • Add a custom domain
  • List pages
  • Update a page

What the Leadpages API covers

6 resources and 18 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.

Pages

  • Create a page
  • List pages
  • Update a page
  • Delete a page

Sites

  • Create a site
  • List sites
  • Update a site

Assets

  • Upload an asset
  • Import an asset from a URL
  • List assets

Blogs

  • Create a blog
  • Create a blog post
  • List blog posts

Forms

  • List form submissions
  • Export form data

Custom domains

  • Add a custom domain
  • List custom domains
  • Delete a custom domain

Checked against Leadpages's own documentation on 2026-10-22

www.leadpages.com/developers/docs/api-reference

Frequently asked questions

What can a Tray.ai workflow do in Leadpages?

+

The Leadpages API documents 18 actions across 6 resources (Pages, Sites, Assets, Blogs, Forms, Custom domains). For example: Create a page; Create a site; Upload an asset. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Leadpages?

+

The Leadpages API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Leadpages 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.