---
title: "List referrals and invites"
method: GET
path: "/campaign/{id}/referrals"
tags: ["Referrals and Invites"]
---

# List referrals and invites

`GET /campaign/{id}/referrals`

Retrieves a list of all referrals and email invites made by participants in a program.

## Path parameters

- `id` string, required

## Query parameters

- `sortBy` 'updatedAt' | 'createdAt' | 'email' | 'firstName' | 'lastName' | 'referralStatus' | 'referralTriggeredAt'
- `desc` boolean
- `limit` integer
- `offset` integer
- `email` string
- `firstName` string
- `lastName` string
- `referralStatus` 'CREDIT_PENDING' | 'CREDIT_AWARDED' | 'CREDIT_EXPIRED' | 'INVITE_SENT'
- `nextId` string

## Response `200`

Referrals and invites returned.

- ReferralListResponse
  - `referrals` Referral[], required
    - `id` string, required
    - `email` string, required
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `referralStatus` 'CREDIT_PENDING' | 'CREDIT_AWARDED' | 'CREDIT_EXPIRED' | 'INVITE_SENT', required
    - `referredBy` string, required
    - `createdAt` integer, required
    - `updatedAt` integer, required
  - `limit` integer, required
  - `nextOffset` integer, nullable
  - `nextId` string, nullable
  - `more` boolean, required

## Other responses

- `400` — Invalid request.
- `401` — Authorization is missing or invalid.
- `403` — The API key is not allowed to perform this action.
- `404` — Resource not found.
- `429` — Too many requests.

---

[API](https://skmtc.net/growsurf/apis/growsurf-rest-api.md) · [All operations](https://skmtc.net/growsurf/apis/growsurf-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/growsurf/growsurf-rest-api/revisions/26f06e273394/schema)
