Skip to content
PartnerStack logo

Connectors / Marketing · HTTP Connector

PartnerStack integration and API

Create a partnership, create a customer and create a transaction in PartnerStack, and start a workflow when PartnerStack sends “Application created”.

What can you do with PartnerStack on Tray.ai?

PartnerStack is a partner management platform that software companies use to run referral, affiliate and reseller programs, tracking partner-sourced customers and paying partner rewards. Tray.ai connects to PartnerStack through the HTTP Connector, so your workflows can call the PartnerStack API alongside the rest of your stack.

  • When PartnerStack sends “Deal created”, open a matching opportunity in your CRM so sales can see partner-sourced pipeline.
  • Post to your team chat when PartnerStack sends “Application approved”, so partner managers can welcome the new partner.
  • Create a transaction in PartnerStack when your billing system records a payment from a referred customer.
  • When a partner-referred lead closes in your CRM, update a lead in PartnerStack so the partner sees its status.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://api.partnerstack.com/api/v2

Set it up

Connect PartnerStack to Tray.ai

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

Save PartnerStack's username and password

Save the credentials PartnerStack 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.

Point the HTTP Client at the API

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

Start with “List partnerships”

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

Start workflows from PartnerStack events

Give PartnerStack the URL of a Tray.ai webhook trigger. “Application created” can then start a workflow, and so can 11 other events.

Workflows to build with PartnerStack

Connect PartnerStack with Salesforce, NetSuite and Slack

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

Create Salesforce opportunities from PartnerStack deals

When

Deal created

Then

  1. Get a deal from PartnerStack
  2. Create an opportunity in Salesforce

With Salesforce

Record PartnerStack transactions from paid NetSuite invoices

When

An invoice is paid in NetSuite

Then

  1. List customers to find the one on the invoice
  2. Create a transaction in PartnerStack for the paid amount

With NetSuite

Tell the partner team in Slack about new PartnerStack applicants

When

Application created

Then

  1. Get the applicant's company and website
  2. Post the applicant details to the partner channel in Slack

With Slack

Apps you can build on PartnerStack data

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

Partner deal board

Lists PartnerStack deals and leads by partnership and lets channel managers update them.

Partner application queue

Shows new PartnerStack applications and partnerships so the team can review and update each one.

Partner revenue report

Lists PartnerStack customers and transactions by partnership to show partner-sourced revenue.

PartnerStack MCP server for AI agents

Build an MCP server on PartnerStack 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 partnerships
  • List customers
  • List transactions
  • List leads
  • List deals
  • List rewards
  • Get a partnership
  • Create a partnership

What the PartnerStack API covers

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

Partnerships

  • List partnerships
  • Get a partnership
  • Create a partnership
  • Update a partnership
  • Archive a partnership

Customers

  • List customers
  • Get a customer
  • Create a customer
  • Update a customer
  • Delete a customer

Transactions

  • List transactions
  • Create a transaction
  • Delete a transaction

Leads

  • List leads
  • Get a lead
  • Create a lead
  • Update a lead
  • Archive a lead

Deals

  • List deals
  • Get a deal
  • Create a deal
  • Update a deal
  • Archive a deal

Rewards

  • List rewards
  • Create a reward

Events PartnerStack can send to a Tray.ai webhook trigger

  • Application created
  • Application approved
  • Partnership created
  • Partnership updated
  • Customer created
  • Customer updated
  • Customer deleted
  • Transaction created
  • Lead created
  • Lead updated
  • Deal created
  • Deal updated

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

docs.partnerstack.com/docs/partnerstack-api

Frequently asked questions

What can a Tray.ai workflow do in PartnerStack?

The PartnerStack API documents 25 actions across 6 resources (Partnerships, Customers, Transactions, Leads, Deals, Rewards). For example: List partnerships; List customers; List transactions. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with PartnerStack?

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

Which PartnerStack events can start a Tray.ai workflow?

PartnerStack sends 12 events to a webhook URL, for example: Application created; Application approved; Partnership created; Partnership updated; Customer created; Customer updated; Customer deleted; Transaction created. A Tray.ai webhook trigger receives them and starts a workflow.

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