Referral code
Overview
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.
API Reference
Path parameters
subdomainstringRequired
userIdstring · uuidRequired
Header parameters
x-api-keystringRequired
Responses
200
200
application/json
400
400
application/json
401
401
application/json
403
403
application/json
404
404
application/json
409
409
application/json
429
429
application/json
500
500
application/json
get
GET /public/communities/{subdomain}/users/{userId}/referral-code HTTP/1.1
Host: api-v2.zealy.io
x-api-key: text
Accept: */*
{
"code": "text"
}
Last updated
Was this helpful?