Base URL
All API requests should use the following base URL:Authentication
All API requests require authentication using a Bearer token in theAuthorization header:
Response Format
All responses are returned in JSON format with astatus field indicating success (1) or failure.
HTTP Status Codes
Partnero returns standard HTTP response codes:| Code | Name | Description |
|---|---|---|
| 200 | OK | Request was successful |
| 201 | Created | Resource was created successfully |
| 400 | Bad Request | Invalid request parameters |
| 401 | Unauthorized | Invalid or missing API token |
| 403 | Forbidden | Action not allowed for this token |
| 404 | Not Found | Resource does not exist |
| 422 | Unprocessable Entity | Validation error |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error |
Rate Limiting
API requests are rate-limited to ensure fair usage. If you exceed the rate limit, you’ll receive a429 Too Many Requests response.
Pagination
List endpoints support pagination with the following query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 15 | Number of results per page (1-250) |
page | integer | 1 | Page number |
links and meta objects:
Quick Start
Get your API key
- Go to your program in Partnero
- Navigate to Integration → API
- Click Create API key
- Copy the generated key (you won’t be able to see it again)
Error Handling
Error responses include a message explaining what went wrong:Need Help?
Frequently Asked Questions
What's the difference between partners and customers?
What's the difference between partners and customers?
Partners are affiliates who promote your product and earn commissions. Customers are end-users who sign up through partner referral links. Partners bring in customers, and you pay partners commissions on customer purchases.
Do I need the API if I use payment integrations?
Do I need the API if I use payment integrations?
Partially. Payment integrations (Stripe, Paddle, Shopify) automatically track transactions, but you still need to create customers using the API or JavaScript SDK. The customer links sign-ups to the referring partner, and the integration handles sales tracking from there.
How do I test the API?
How do I test the API?
Use your API key from the Partnero dashboard. All endpoints work the same in test and production—there’s no separate sandbox environment. We recommend creating a test program for development.
