# PartnerStack integrations: partnerships

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

**Canonical page:** https://tray.ai/connectors/partnerstack-integrations/
**Categories:** Marketing
**Connects through:** HTTP Connector

## Overview

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.

## Use cases

### Partnerships

Read, create, update, and delete partnerships in PartnerStack from any Tray.ai workflow. The PartnerStack API covers calls such as list partnerships and get a partnership.

- List partnerships
- Get a partnership
- Create a partnership

### Customers

Read, create, update, and delete customers in PartnerStack from any Tray.ai workflow. The PartnerStack API covers calls such as list customers and get a customer.

- List customers
- Get a customer
- Create a customer

### Transactions

Read, create, and delete transactions in PartnerStack from any Tray.ai workflow. The PartnerStack API covers calls such as list transactions and create a transaction.

- List transactions
- Create a transaction
- Delete a transaction

### Leads

Read, create, update, and delete leads in PartnerStack from any Tray.ai workflow. The PartnerStack API covers calls such as list leads and get a lead.

- List leads
- Get a lead
- Create a lead

### Deals

Read, create, update, and delete deals in PartnerStack from any Tray.ai workflow. The PartnerStack API covers calls such as list deals and get a deal.

- List deals
- Get a deal
- Create a deal

### Rewards

Read and create rewards in PartnerStack from any Tray.ai workflow. The PartnerStack API covers calls such as list rewards and create a reward.

- List rewards
- Create a reward

## Challenges Tray.ai solves

### Keeping PartnerStack credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store PartnerStack credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the PartnerStack API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the PartnerStack API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to PartnerStack?

Yes. Tray.ai connects to PartnerStack through the HTTP Connector, which calls the PartnerStack API directly. Any call the PartnerStack API documents can run as a step in a Tray.ai workflow.

### 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.

### Can I get a dedicated PartnerStack connector?

PartnerStack runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated PartnerStack connector from the PartnerStack API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
