跳到主要内容

Affiliate API

Affiliate program endpoints — apply to be a partner, view stats, request payouts.

My Affiliate

MethodPathDescription
POST`/api/v1/affiliate/apply`Apply
GET`/api/v1/affiliate/me`Status
GET`/api/v1/affiliate/stats`Dashboard stats
GET`/api/v1/affiliate/referrals`Referrals
GET`/api/v1/affiliate/commissions`Commissions

Tracking

MethodPathDescription
POST`/api/v1/affiliate/track`Public tracking pixel/POST

Payouts

MethodPathDescription
POST`/api/v1/affiliate/payout-request`Request a payout
GET`/api/v1/affiliate/payouts`Payout history

Every response uses the standard envelope:

{
  "success": true,
  "data": { /* resource or array */ },
  "meta": { "total": 100, "cursor": "...", "hasMore": true },
  "error": { "code": "ERROR_CODE", "message": "Human readable" }
}

error is omitted on success; meta is omitted when not paginating.

Rate Limits

Subject to the standard 200 req/min/tenant authenticated limit. See [Rate Limits](/docs/api-reference/rate-limits) for full details and the per-endpoint overrides.