Developer Integration
Developer Integration
Integrate RefKit ingestion endpoints and browser SDK safely.
Integration Surfaces
- HTTP API: direct calls to
/track,/sdk/referrals/apply, and/sdk/referrals. - Browser SDK: script distribution via
apps/api/public/cdn/refkit.min.jsand source inapps/web/public/refkit.js.
Authentication
Provide API key in one of these headers:
x-refkit-api-keyx-api-keyAuthorization: Bearer <key>
Runtime Branching
/trackand/sdk/trackequivalent behavior is implemented viatrackEventcontroller.- Lightweight events can process synchronously.
- Referral-heavy flows are accepted and queued for worker processing.
Continue with SDK Quickstart.