# Get referrals (/docs/api-reference/account/getReferrals)

> Your referral link, how many people joined through it, how many rewards you earned, and your most recent referrals with the status of each reward. A reward on hold says so in status_text.

**GET** `/referrals`

Your referral link, how many people joined through it, how many
rewards you earned, and your most recent referrals with the status of
each reward. A reward on hold says so in `status_text`.

`program_available` is `false` when referral rewards are not offered
to your account.

```yaml
operationId: getReferrals
responses:
  '200':
    description: Your referrals.
    content:
      application/json:
        schema:
          type: object
          properties:
            program_available:
              type: boolean
            code:
              type: string
            url:
              type: string
              description: Your referral link.
            minutes_per_referral:
              type: integer
            joined_count:
              type: integer
            rewarded_count:
              type: integer
            minutes_earned:
              type: number
            referees:
              type: array
              description: Your 10 most recent referrals.
              items:
                type: object
                properties:
                  label:
                    type:
                      - string
                      - 'null'
                    description: The name the person signed up with.
                  status:
                    type: string
                    enum:
                      - pending
                      - granted
                      - withheld
                      - expired
                  minutes:
                    type: number
                  status_text:
                    type: string
                    description: Present when the reward is on hold (`withheld`).
        example:
          program_available: true
          code: k7m2pq9x
          url: https://omnidim.io/r/k7m2pq9x
          minutes_per_referral: 30
          joined_count: 2
          rewarded_count: 1
          minutes_earned: 30
          referees:
            - label: Priya
              status: withheld
              minutes: 30
              status_text: >-
                This reward is on hold while the referral is reviewed. Contact support if you think
                this is a mistake.
  '401':
    description: Missing or invalid API key.
    content:
      application/json:
        schema:
          type: object
          properties:
            error:
              type: string
              description: Machine-readable error code.
            error_description:
              type: string
              description: Human-readable explanation.
            code:
              type: string
              description: |
                Stable, specific reason. Present on the newer endpoints (Voice
                cloning, WhatsApp); older endpoints return only `error`.
            request_id:
              type: string
              description: |
                Correlates this response with the server log. Present alongside
                `code`. Also sent as the `X-Request-Id` header.
        example:
          error: unauthorized
          error_description: Missing or invalid API key
```

**curl**

```bash
curl -X GET "https://omnidim.io/api/v1/referrals" \
  -H "Authorization: Bearer $OMNIDIM_API_KEY"
```