Bind a referral code
Permanently attributes the authenticated user to the owner of an exact case-sensitive code
x-api-key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Payload to bind a referral code permanently to the authenticated user
Response Body
curl -X POST "https://example.com/referrals/bind" \ -H "Content-Type: application/json" \ -d '{ "referralCode": "PEAR2026" }'Empty