Last updated 10 months ago
Was this helpful?
This endpoint allows you to retrieve a user referral code. A referral code is the code used by the user to invite other users in your community.
/public/communities/{subdomain}/users/{userId}/referral-code
curl -L \ --url 'https://api-v2.zealy.io/public/communities/{subdomain}/users/{userId}/referral-code' \ --header 'x-api-key: text'
{ "code": "text" }