Skip to main content
GET
List participants
  • Paging. Send the last id of a page as startingAfter to get the next page. There’s no “has more” flag: you’ve reached the end when a page has fewer than limit participants.
  • Backwards. endingBefore returns the participants added before that id, newest first.
  • Order. Participants come back in the order they were added, so paging never skips or repeats anyone.
  • No invite links. Lists don’t include inviteUrl or publicInviteUrl. You get those when you add someone.

Authorizations

Authorization
string
header
required

Send your key in the Authorization header: Authorization: Bearer hk_live.…. The word Bearer is case-sensitive.

Keys are shown once. Treat them like passwords and never put one in code that runs in a browser or an app.

Query Parameters

program
string
required

The program's id. Starts with prg_.

filter
enum<string>
default:all

all: pending, active and inactive participants. onboarded: people who have claimed their reward. pending: people who haven't claimed it yet.

Available options:
all,
onboarded,
pending
limit
integer
default:10

How many participants to return, from 1 to 100.

Required range: 1 <= x <= 100
startingAfter
string

A participant id (pcpt_…). Returns the participants added after it, oldest first. Not with endingBefore.

endingBefore
string

A participant id (pcpt_…). Returns the participants added before it, newest first. Not with startingAfter.

Response

A page of participants. Fewer than limit means it's the last page.

id
string
required

The participant's id. Starts with pcpt_.

Example:

"pcpt_R4k1LmQ8vB"

object
string
required
Allowed value: "participant"
email
string<email>
required
Example:

"ada@example.com"

program
string
required

Id of the program. Starts with prg_.

Example:

"prg_Z8q3NnW2xK"

status
enum<string>
required

pending: invited, hasn't claimed yet. active: claimed. inactive: no longer active in the program.

Available options:
pending,
active,
inactive
firstName
string

First word of the person's name. Left out when no name was given.

Example:

"Ada"

lastName
string

Second word of the person's name. Left out when there isn't one.

Example:

"Lovelace"

inviteUrl
string<uri>

The link the person opens to claim their reward: Hoppier's sign-up page, or the sign-in page if they already have an account. Valid for 30 days. Anyone who has it can use it, so send it only to that person. Only in the response to adding someone, not in lists.

publicInviteUrl
string<uri>

Only for accounts with public program links turned on: the program's public join link. It's the same for everyone in the program, and anyone who has it can join. Valid for 90 days. Only in the response to adding someone, not in lists.