Partner Referral Requests

List partner referral requests

Changed on

Lists your referral links and attribution requests, including incoming requests for businesses you own, with filters for business, partner, type, and status.

get/partner_referral_requests

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

account_id, string

Only requests for this business ID, prefixed biz_.

target_user_id, string

Deprecated: requests to a user have ended. Returns no requests.

partner_id, string

Only requests sent by this partner's user ID, prefixed user_.

referring_account_id, string

Only the referral links created for memberships on this business's team, prefixed biz_. Needs read access to the business: its owner sees every member's links, a manager the links of the people reporting to them, and other members only their own. With request_type=lead, it lists your lead offers that count toward this team, plus your personal lead offers.

status, 'pending' | 'accepted' | 'denied' | 'cancelled'

Only requests with this approval status.

request_type, 'manual' | 'ownership_transfer' | 'link' | 'lead'

Only requests initiated in this way.

authorized_user_id, string

Only requests created for this team membership, prefixed ausr_.

member_id, string

Only requests that credit this member record, prefixed mber_. A request created for a team membership also credits its holder's member record.

personal, boolean

When true, only personal requests, created for neither a team membership nor a member record. When false, only requests created for one.

order, 'created_at'

Field used to sort requests.

direction, 'asc' | 'desc'

Sort direction.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

Requests listed.

object required
data, PartnerReferralRequest[] required
page_info, object required

Example response

{
  "data": [
    {
      "account": {
        "id": "biz_xxxxxxxxxxxxxx",
        "logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "route": "shine-time-auto-detailing",
        "title": "Shine Time Auto Detailing"
      },
      "created_at": "2026-01-01T12:00:00.000Z",
      "id": "prfr_xxxxxxxxxxxxxx",
      "lead": {
        "industry_type": {
          "business_type": {
            "id": "education",
            "name": "Education"
          },
          "id": "equity_research",
          "name": "Equity research"
        },
        "owner": {
          "badges": [
            {
              "type": "verified_partner"
            }
          ],
          "id": "user_xxxxxxxxxxxxxx",
          "name": "Dana Whitfield",
          "profile_picture": {
            "url": "https://ui-avatars.com/api/"
          },
          "username": "danawhitfield"
        }
      },
      "partner": {
        "badges": [
          {
            "type": "verified_partner"
          }
        ],
        "id": "user_xxxxxxxxxxxxxx",
        "name": "Dana Whitfield",
        "profile_picture": {
          "url": "https://ui-avatars.com/api/"
        },
        "username": "danawhitfield"
      },
      "referring_account": {
        "id": "biz_xxxxxxxxxxxxxx",
        "title": "Shine Time Auto Detailing"
      },
      "request_type": "manual",
      "rewards": [
        {
          "bot_qualification_type": "sales",
          "qualification_amount": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "recipient": "business",
          "reward_amount": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          }
        }
      ],
      "status": "cancelled",
      "status_reason": "withdrawn",
      "updated_at": "2026-01-01T12:00:00.000Z",
      "user": {
        "badges": [
          {
            "type": "verified_partner"
          }
        ],
        "id": "user_xxxxxxxxxxxxxx",
        "name": "Dana Whitfield",
        "profile_picture": {
          "url": "https://ui-avatars.com/api/"
        },
        "username": "danawhitfield"
      }
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • breaking

      added to the data/items/account response property oneOf list for the response status

    • info

      removed from the data/items/account response property oneOf list for the response status

    • info

      added the required property data/items/lead/oneOf[#/components/schemas/PartnerReferralRequestLead]/industry_type to the response with the status

    3 more changes in this revision