Skip to content

Ranked member list ("leaderboard")

GET
/members/top

Ranked by qualifying credits, spendable points, or effective tier. Requires a secret key.

by
string
Allowed values: qualifying spendable tier
limit
integer
>= 1 <= 100
tier
string
>= 1 characters <= 64 characters
channel
string
>= 1 characters <= 64 characters
program

The programme to act in: its handle (for example vv) or its lower-case id. Optional on a workspace with one programme; on a workspace with several, a call that names none is refused with 400 program_required. A programme that is not this workspace’s is 404 not_found.

string

The programme to act in: its handle (for example vv) or its lower-case id. Optional on a workspace with one programme; on a workspace with several, a call that names none is refused with 400 program_required. A programme that is not this workspace’s is 404 not_found.

The ranked list.

object
points_label
required
string
Example
points
members
required
Array<object>
object
customer_uuid
required
string format: uuid
name
required
string | null
tier
required
string | null
qualifying_balance
required
integer
spendable_balance
required
integer
channels
required
Array<string>

An unknown by value, limit/tier/channel out of range, or the program is malformed (not a lower-case programme id or a programme handle), or a workspace with several programmes was given none (program_required).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

Missing or invalid API key or OAuth credential.

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

The credential lacks the loyalty:read scope — a publishable key (publishable_key_forbidden).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

The program names no programme of this workspace (not_found).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210