Skip to content

You may choose to log events for all of your players, not only ones that have a referral code. If a player later adds a referral code, apply it to all of that player’s past events that were logged without one.

POST/event/add-referral-code
Terminal window
curl -X 'POST' \
'https://api.nexus.gg/v1/bounties/event/add-referral-code' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-H 'X-SHARED-SECRET: nexus_sk_your_key_here' \
-d '{
"playerId": "userUniqueIdentifier1",
"referralCode": "popcornfrog"
}'

The response is 200 OK with no body.