Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt

Use this file to discover all available pages before exploring further.

Referrals API

Referral programs that Orbit customers run for their end-users — not Orbit’s own referral program. Define a program, issue per-user referral codes, track conversions, run a leaderboard, and approve payouts. Base path: /v1/referrals Authentication: API key (X-API-Key) or session JWT.

Programs

MethodPathPurpose
POST/v1/referrals/programsCreate a referral program
GET/v1/referrals/programsList programs
GET/v1/referrals/programs/{id}Get a program
PUT/v1/referrals/programs/{id}Update reward, expiration, rules
DELETE/v1/referrals/programs/{id}Delete a program

Codes & conversions

MethodPathPurpose
POST/v1/referrals/programs/{id}/codesIssue a referral code (per referrer)
GET/v1/referrals/programs/{id}/leaderboardTop referrers ranked by conversions
GET/v1/referrals/programs/{id}/conversionsList conversions
POST/v1/referrals/programs/{id}/conversions/{conversionId}/payApprove and mark a conversion as paid
The customer-facing redirect at /r/:code is mounted at the API root (no /api prefix) so referral links can be branded short URLs. It’s not authenticated.