Referral code stats
GET/referral_codes/:id/stats
What your code produced, per company. Your access to each company decides what you see:
- Counts (any app): for each company in the code's scope, one cell per ISO week (Monday
to Sunday, UTC) with the unique investors referred that week as a range,
{min, max}. Ranges are never exact, currently of width 3 and starting at zero, so{0, 2}also means none. Each week is published once, early on the following Monday, and never revised; the current week has no cell. There are no totals across weeks or companies, and no amounts. - Rows (your app is installed on the company with
read:attribution:anonymized, or at founder tier withread:attribution:full): that company's referred investments instead of ranges, anonymized or in full.
A targeted code's scope is its target; an untargeted code's scope is every company its
visitors landed on. visits and unique_visitors are a daily snapshot up to the end of
visits_as_of (UTC). Paginated over companies; each company's weekly series is complete.
Request
Responses
- 200
- 401
- 403
- 404
Stats for the referral code
Authentication required or token is invalid/expired. This error occurs when:
- No Authorization header is provided
- The access token is invalid or malformed
- The access token has expired
- The access token has been revoked
To resolve: Obtain a new access token using the OAuth 2.0 flow.
The authenticated user does not have permission to access this resource. This typically means:
- The user is authenticated but lacks the required OAuth scope
- The resource belongs to a different user
- The user's role doesn't allow this operation
Check that your OAuth token includes the necessary scopes for this endpoint.
The requested resource does not exist or is not visible to this token.