List referral codes
GET/referral_codes
The referral codes your application created, newest first. A referral code records that a
visitor arrived through your link (?wfr=ref_…); it never changes what the visitor sees and
grants no access. Filter with active=true or active=false.
Every referral code operation takes your application's own server key (a
client_credentials token). A user or installation token gets 403 app_credentials_required.
Request
Responses
- 200
- 401
- 403
Referral codes for the calling application
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.