PartnerStack
Partner and affiliate program management platform for SaaS companies with deal tracking, rewards, and multi-tier partnerships.
PartnerStack
Partner and affiliate program management platform for SaaS companies with deal tracking, rewards, and multi-tier partnerships.
Capabilities
| Integration | Available | Notes |
|---|---|---|
| API | ✓ | Vendor API v2 for partnerships, deals, customers, transactions |
| MCP | ✓ | Official remote server at mcp.partnerstack.com, checked 2026-10-27 |
| CLI | ✓ | [partnerstack.js](../clis/partnerstack.js) |
| SDK | - | No official SDK; REST API with Basic Auth |
Authentication
- Type: Basic Auth (Vendor API)
- Header:
Authorization: Basic {base64(public_key:secret_key)} - Get credentials: Vendor dashboard > Settings > Integrations > PartnerStack API Keys
- Note: Separate Test and Production API keys. Test transactions can only be added to customers created with Test keys.
Common Agent Operations
List partnerships
GET https://api.partnerstack.com/api/v2/partnerships?limit=25
Authorization: Basic {base64(public_key:secret_key)}Create a partnership
POST https://api.partnerstack.com/api/v2/partnerships
{
"email": "[email removed]",
"group_key": "affiliates",
"first_name": "Jane",
"last_name": "Smith"
}List customers
GET https://api.partnerstack.com/api/v2/customers?limit=25Create a customer (attribute to partner)
POST https://api.partnerstack.com/api/v2/customers
{
"email": "[email removed]",
"partner_key": "prtnr_abc123",
"name": "John Doe"
}Record a transaction
POST https://api.partnerstack.com/api/v2/transactions
{
"customer_key": "cust_abc123",
"amount": 9900,
"currency": "USD",
"product_key": "pro_plan"
}List deals
GET https://api.partnerstack.com/api/v2/deals?limit=25Create a deal
POST https://api.partnerstack.com/api/v2/deals
{
"partner_key": "prtnr_abc123",
"name": "Enterprise Opportunity",
"amount": 50000,
"stage": "qualified"
}Record an action (event-based rewards)
The CLI maps --customer-key to the customer target and --action-key to the action type. --value is the number of occurrences, defaulting to one.
POST https://api.partnerstack.com/api/v2/actions
{
"target_key": "cust_abc123",
"target_type": "customer",
"type": "signup_completed",
"value": 1
}Create a reward
POST https://api.partnerstack.com/api/v2/rewards
{
"partner_key": "prtnr_abc123",
"amount": 5000,
"description": "Bonus for Q1 performance"
}List leads
GET https://api.partnerstack.com/api/v2/leads?limit=25Create a lead
POST https://api.partnerstack.com/api/v2/leads
{
"partner_key": "prtnr_abc123",
"email": "[email removed]",
"name": "Potential Customer",
"company": "Acme Corp"
}List partner groups
GET https://api.partnerstack.com/api/v2/groupsManage webhooks
Both the destination URL and a nonempty event list are required when creating a webhook (--target and --events in the CLI).
POST https://api.partnerstack.com/api/v2/webhooks
{
"target_url": "https://example.com/webhooks/partnerstack",
"events": ["deal.created", "transaction.created", "customer.created"]
}API Pattern
PartnerStack uses cursor-based pagination. List responses include has_more and item keys for starting_after / ending_before parameters.
All responses follow the format:
{
"data": { ... },
"message": "...",
"status": "2xx"
}Key Metrics
Partnership Metrics
partner_key- Unique partner identifiergroup- Partner tier/groupstatus- active, pending, archivedcreated_at- Partnership start date
Transaction Metrics
amount- Transaction value in centscurrency- Currency codeproduct_key- Associated productcustomer_key- Associated customer
Deal Metrics
amount- Deal valuestage- Deal pipeline stagestatus- open, won, lost
Reward Metrics
amount- Reward amount in centsstatus- pending, approved, paid
Parameters
Pagination Parameters
limit- Items per page (1-250, default: 10)starting_after- Cursor for next page (item key)ending_before- Cursor for previous page (item key)order_by- Sort field, prefix with-for descending
Common Filters
include_archived- Include archived recordshas_sub_id- Filter by sub ID presence
When to Use
- Managing SaaS affiliate and referral programs
- Tracking partner-driven revenue and attributions
- Automating partner onboarding and rewards
- Deal registration and pipeline tracking
- Multi-tier partnership programs (affiliates, resellers, agencies)
- Event-based reward triggers (signups, upgrades, etc.)
Rate Limits
- Not explicitly documented
- Use reasonable request rates; implement exponential backoff on 429 responses
Relevant Skills
- referrals
- affiliate-marketing
- partner-enablement
- saas-metrics
- launch-sequence
Source: https://github.com/coreyhaines31/marketingskills/blob/main/tools/integrations/partnerstack.md
Author: coreyhaines31, Marketing skills. License: MIT.
Shown here with formatting for the web; email addresses removed. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.