Incoming webhooks let external apps send data into your Partnero account. Use them to automatically create partners, customers, or transactions when events occur in your other systems.Documentation Index
Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
- Create an incoming webhook in Partnero
- Send sample data to the Test URL
- Map the incoming fields to Partnero fields
- Use the Production URL to send live data
Creating an Incoming Webhook
Go to Incoming Webhooks
Navigate to Program Settings → Incoming Webhooks and click Create an incoming webhook.
Copy your URLs
You’ll receive two URLs:
- Test URL - Send sample data here first. No data is created in your account.
- Production URL - Send real data here once mapping is configured.
Select an action
Choose what you want to do with the incoming data:
- Create a partner (Affiliate programs)
- Create a customer
- Create a transaction
Map the fields
Partnero parses your sample data and shows all available field paths. Map them to the required fields:
| Your Data | → | Partnero Field |
|---|---|---|
user_email | → | Email address |
user_name | → | Name |
order_id | → | Transaction key |
total | → | Amount |
Available Actions
Create a Partner
Available for Affiliate programs. Creates a new partner in your program.| Field | Required | Description |
|---|---|---|
| Email address | Yes | Partner’s email |
| Name | Yes | Partner’s name |
| Partner ID | No | Custom identifier |
| Partner key | No | Custom referral key |
| Referring partner key | No | For multi-tier programs |
Create a Customer
Creates a new customer linked to a partner.| Field | Required | Description |
|---|---|---|
| Email address | Yes | Customer’s email |
| Name | Yes | Customer’s name |
| Customer key | No | Custom identifier |
| Partner key/ID/email | No | Links customer to partner |
- Referring customer key/email/ID
Create a Transaction
Records a sale or purchase.| Field | Required | Description |
|---|---|---|
| Amount | Yes | Transaction amount |
| Customer key | Yes | Which customer made the purchase |
| Transaction key | No | Unique identifier (recommended) |
| Product ID | No | Product identifier |
| Product type | No | e.g., monthly, yearly |
Example: Complete Flow
1. Your external app sends order data:| Incoming Path | Partnero Field |
|---|---|
customer.email | Email address |
customer.name | Name |
order.id | Transaction key |
order.amount | Amount |
order.product | Product ID |
referral_code | Partner key |
- Finds or creates the customer
- Links them to the partner with key
PARTNER123 - Creates the transaction
- Calculates commission
Tips
Field mapping is flexible—Partnero can extract values from nested JSON objects like
customer.email or order.details.total.