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

Get the referral code for a user

get
Path parameters
subdomainstringRequired
userIdstring · uuidRequired
Header parameters
x-api-keystringRequired
Responses
200
200
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?