---
title: "Get Referral Program Detail View"
method: GET
path: "/organization/referral-program-detail/{event_id}/{referral_program_id}/"
tags: ["organization"]
---

# Get Referral Program Detail View

`GET /organization/referral-program-detail/{event_id}/{referral_program_id}/`

Get detailed view for a specific referral program including:
- Summary statistics (order_count, ticket_count, total_commission, orders_total)
- Paginated referral orders list with search/sort
- Each order includes: buyer_name, order_number, ticket_names, ticket_count, 
  total_amount, total_commission

## Path parameters

- `event_id` integer, required
- `referral_program_id` integer, required

## Query parameters

- `page` integer
- `page_size` integer
- `search` string, nullable
- `sort_by` string, nullable
- `is_download` boolean, nullable
- `file_type` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not found
- `422` — Validation Error

## Changes

- **2026-09-03** `43ba83e1f2fe` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/myticketpartner/apis/fastapi/changes/organization/referral-program-detail/:event_id/:referral_program_id/get.md)

---

[API](https://skmtc.dev/myticketpartner/apis/fastapi.md) · [All operations](https://skmtc.dev/myticketpartner/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myticketpartner/fastapi/revisions/43ba83e1f2fe/schema)
