PromoStack Mobile SDK
PromoStack provides a simple REST API for integrating referral programs into your mobile app.Base URL
Quick Integration
1
Get API Key
Create an app in the PromoStack Dashboard and copy your API key.
2
Get/Create Referrer
When user opens referral program, call
/referrer to get their link and current progress.3
Redeem Metacode
When user enters referral code, call
/referee-redeem to get platform-specific promo code.API Endpoints
| Endpoint | Purpose | |----------|---------|| |POST /referrer | Get or create referrer and fetch progress stats |
| POST /referrer-claim | Claim available rewards |
| POST /referee-redeem | Redeem metacode and get promo code |
Error Handling
All endpoints return consistent error format:400 VALIDATION_ERROR- Missing or invalid parameters401 UNAUTHORIZED- Invalid or missing API key404 NOT_FOUND- Resource not found409 CONFLICT- Duplicate or conflicting request503 SERVICE_UNAVAILABLE- Temporary service issue
Rate Limits
- Free tier: 1,000 requests/month
- Basic tier: 10,000 requests/month
- Pro tier: 100,000 requests/month

