Skip to content
Pantheon logo

Connectors / Developer tools · HTTP Connector

Automate Pantheon with Tray.ai

Create a site, create a multidev environment and create a backup in Pantheon. Connect Pantheon to the rest of your developer tools stack with Tray.ai.

Great — a couple more details

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

See all connectors

What can you do with Pantheon on Tray.ai?

Pantheon is a hosting platform for Drupal and WordPress sites, with dev, test and live environments, deployments, backups and domain management. Tray.ai connects to Pantheon through the HTTP Connector, so your workflows can call the Pantheon API alongside the rest of your stack.

  • Create a backup in Pantheon before each scheduled release in your deployment calendar.
  • Deploy code to an environment in Pantheon after the change request is approved in your ticketing system.
  • Remove a user from a site in Pantheon when they leave the company in your HR system.
  • Clear an environment's cache in Pantheon after your content team publishes a major update.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.pantheon.io/v1

What the Pantheon API covers

6 resources and 20 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.

Sites

  • Create a site
  • Get a site
  • Look up a site by name

Environments

  • List a site's environments
  • Create a multidev environment
  • Deploy code to an environment
  • Clear an environment's cache
  • Lock an environment

Backups

  • Create a backup
  • List backups for an environment
  • Get a backup download URL

Domains

  • Add a domain
  • Update a domain
  • Remove a domain

Site team members

  • List a site's team members
  • Add a user to a site
  • Change a user's role
  • Remove a user from a site

Workflows

  • List a site's workflows
  • Get a workflow

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

docs.pantheon.io/guides/public-api

Frequently asked questions

What can a Tray.ai workflow do in Pantheon?

+

The Pantheon API documents 20 actions across 6 resources (Sites, Environments, Backups, Domains, Site team members, Workflows). For example: Create a site; List a site's environments; Create a backup. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Pantheon?

+

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

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