Affiliates
Get My Affiliate Dashboard
Returns the caller's affiliate status, tier, wallet, clicks, referrals, commissions, and withdrawal history. Session-authenticated only.
veriworkly-auth.session_token<token>
Internal session cookie for local development.
In: cookie
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/affiliates/me"{ "success": true, "message": "string", "data": { "affiliateStatus": "NOT_ENROLLED", "affiliateTier": "TIER_1", "affiliateCode": "string", "affiliateEnrolledAt": "2019-08-24T14:15:22Z", "clicks": 0, "referrals": [ { "id": "string", "status": "PENDING", "createdAt": "2019-08-24T14:15:22Z", "convertedAt": "2019-08-24T14:15:22Z" } ], "totalReferrals": 0, "conversions": 0, "commissions": [ {} ], "withdrawals": [ {} ], "wallet": { "pendingCents": 0, "availableCents": 0, "paidCents": 0 }, "minimumWithdrawalCents": 2500, "tierProgress": { "currentConversions": 0, "nextTierConversions": 0 }, "tiers": [ { "key": "string", "name": "string", "rateBps": 0, "requiredConversions": 0, "perks": [ "string" ] } ] }}Get Affiliate LeaderboardGET
Public, unauthenticated endpoint. Top 50 affiliates ranked by commission earnings, for the current calendar month or all-time.
Enroll As AffiliatePOST
Enrolls the caller in the affiliate program, generating a unique referral code. Idempotent — calling this again while already enrolled just returns the current dashboard. Session-authenticated only.