v1

latestOpenAPI 3.1.02026-08-0466147138.0 KB
SuperRewardsAPI

Get user referral code

Get a user's unique referral code. Gated behind authentication.

get/user/referral/code

Query parameters

userstring required
Example:0x1234567890123456789012345678901234567890

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

codestring required

Example response

{
  "$schema": "https://api.superform.xyz/schemas/UserReferralCodeResponse.json"
}