For developers
Build custom affiliation workflows
Sprusify's REST API and webhook events let you integrate affiliate management into your systems. Build custom attribution, automation, and reporting.
API basics
RESTful endpoints
Standard REST API with JSON request/response. All endpoints are authenticated with API keys.
Authentication
API key authentication with Bearer token. Keys can be scoped to specific actions and resources.
Common use cases
Build custom tracking
Send custom conversion events or adjust attribution on-the-fly.
{"clickId": "...",
"value": 150.00}
Bulk affiliate import
Import affiliates in bulk from another system.
{"file": "...csv",
"program": "..."}
Sync to data warehouse
Export affiliate data and commission history for analysis.
date_from=2025-01-01
Automate payouts
Approve and schedule payouts programmatically.
{"affiliates": [...],
"scheduled": true}
Manage commission rules
Create and update commission structures via API.
{"type": "percentage",
"value": 15}
Listen for events
React to affiliate or conversion changes in real time.
affiliate.created
conversion.confirmed
API features
Performance & scale
- Sub-100ms response times
- Batch endpoints for bulk operations
- Pagination support for large datasets
- Rate limiting (5,000 req/min per key)
- Global CDN for low latency
Reliability & security
- 99.9% uptime SLA
- Webhook retry logic & durability
- Request signing & validation
- IP whitelisting support
- Audit logging for all API calls
SDK & libraries
Get started with the API
- 1
Create an API key
Generate a key in your account settings with appropriate scopes.
- 2
Read the docs
Review the API reference and authentication guide.
- 3
Try the sandbox
Test your integrations in our sandbox environment.
- 4
Deploy to production
Switch API keys and go live with confidence.
Support & resources
- Complete API documentation
Endpoint reference, authentication, and best practices
- Developer support
Email, Slack, and community forum
- Error handling guide
Common errors and troubleshooting
- Rate limits & quotas
Understand API throttling and best practices
Start growing with partners
Turnkey Shopify affiliate tracking, payouts, and fraud checks - ready for production.