Skip to content
MemberPress logo

Connectors / E-commerce · HTTP Connector

MemberPress integration and API

Create a transaction and create a rule in MemberPress, and start a workflow when MemberPress sends “Member added”.

What can you do with MemberPress on Tray.ai?

MemberPress is a WordPress plugin for selling memberships, subscriptions, and gated content. Tray.ai connects to MemberPress through the HTTP Connector, so your workflows can call the MemberPress API alongside the rest of your stack.

  • When MemberPress sends “Transaction failed”, notify finance in your team chat.
  • Tag the member in your email platform for a renewal campaign when MemberPress sends “Subscription expired”.
  • When MemberPress sends “Transaction completed”, record the sale in your accounting system.
  • Create a member when a customer is approved for access in your CRM.
Connects through
HTTP Connector
Authentication
An API key in a request header or basic authentication

Set it up

Connect MemberPress to Tray.ai

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

Save MemberPress'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.

Import a request from MemberPress's docs

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

Start with “List members”

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

Start workflows from MemberPress events

Give MemberPress the URL of a Tray.ai webhook trigger. “Member added” can then start a workflow, and so can 7 other events.

Workflows to build with MemberPress

Connect MemberPress with HubSpot, QuickBooks and Slack

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

Add new MemberPress members to HubSpot

When

Member signup completed

Then

  1. Create or update the contact in HubSpot
  2. Add the contact to the member onboarding list in HubSpot

With HubSpot

Send MemberPress sales to QuickBooks

When

Transaction completed

Then

  1. Create a sales receipt in QuickBooks for the transaction
  2. Record the payment against the member's customer record in QuickBooks

With QuickBooks

Alert the team in Slack about failed MemberPress payments

When

Transaction failed

Then

  1. Post the member and amount to the billing channel in Slack
  2. Log a follow-up task on the contact in HubSpot

With Slack and HubSpot

Apps you can build on MemberPress data

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

Failed payment queue

Lists failed transactions with the member behind them so staff can follow up and update the transaction.

Membership revenue report

Shows completed and refunded transactions by period so the site owner can track membership revenue.

Give your AI agents MemberPress tools

Build an MCP server on MemberPress 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 members
  • List transactions
  • List rules
  • Create a member
  • Update a member
  • Delete a member
  • Create a transaction
  • Update a transaction

What the MemberPress API covers

3 resources and 12 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.

Members

  • List members
  • Create a member
  • Update a member
  • Delete a member

Transactions

  • List transactions
  • Create a transaction
  • Update a transaction
  • Delete a transaction

Rules

  • List rules
  • Create a rule
  • Update a rule
  • Delete a rule

Events MemberPress can send to a Tray.ai webhook trigger

  • Member added
  • Member signup completed
  • Member deleted
  • Subscription created
  • Subscription expired
  • Transaction completed
  • Transaction refunded
  • Transaction failed

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

memberpress.com/docs/overview-of-using-the-developer-tools

Frequently asked questions

What can a Tray.ai workflow do in MemberPress?

The MemberPress API documents 12 actions across 3 resources (Members, Transactions, Rules). For example: List members; List transactions; List rules. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with MemberPress?

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

Which MemberPress events can start a Tray.ai workflow?

MemberPress sends 8 events to a webhook URL, for example: Member added; Member signup completed; Member deleted; Subscription created; Subscription expired; Transaction completed; Transaction refunded; Transaction failed. A Tray.ai webhook trigger receives them and starts a workflow.

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