Skip to content
WP Engine logo

Connectors / Developer tools · HTTP Connector

Automate WP Engine with Tray.ai

Create a site, create an install and create a domain in WP Engine. Connect WP Engine to the rest of your developer tools stack with Tray.ai.

What can you do with WP Engine on Tray.ai?

WP Engine is a managed WordPress hosting platform where agencies and businesses run sites, environments, domains, backups, and caching for their WordPress installs. Tray.ai connects to WP Engine through the HTTP Connector, so your workflows can call the WP Engine API alongside the rest of your stack.

  • Purge the cache when new content is published in your content system.
  • Create a backup before each release your engineering team ships.
  • Create an account user when a new agency staff member joins in your HR system.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://api.wpengineapi.com/v1

Set it up

Connect WP Engine to Tray.ai

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

Step 1

Save WP Engine's username and password

Save the credentials WP Engine gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

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

Step 3

Start with “List sites”

It's one of 22 documented actions, under Sites. 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 site” and “Update a site” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Give your AI agents WP Engine tools

Build an MCP server on WP Engine 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 sites
  • List installs
  • List domains
  • List backups
  • Purge the cache
  • List account users
  • Create a site
  • Update a site

What the WP Engine API covers

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

Sites

  • List sites
  • Create a site
  • Update a site
  • Delete a site

Installs

  • List installs
  • Create an install
  • Update an install
  • Copy an install

Domains

  • List domains
  • Create a domain
  • Update a domain
  • Delete a domain

Backups

  • List backups
  • Create a backup
  • Restore a backup

Cache

  • Purge the cache
  • List cache exclusions
  • Replace cache exclusions

Account users

  • List account users
  • Create an account user
  • Update an account user
  • Delete an account user

Checked against WP Engine's own documentation on 2026-11-07

developers.wpengine.com/docs/managed-hosting-platform/api

Frequently asked questions

What can a Tray.ai workflow do in WP Engine?

+

The WP Engine API documents 22 actions across 6 resources (Sites, Installs, Domains, Backups, Cache, Account users). For example: List sites; List installs; List domains. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with WP Engine?

+

The WP Engine API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See WP Engine 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.