# Partner pages

> What a partner's private page calls

Source: https://tickets.roostertail.com/docs/reference/partner_pages

Every operation below is also in [the OpenAPI document](https://tickets.roostertail.com/v1/openapi.yaml). One that names an MCP tool can be called through [the MCP server](https://tickets.roostertail.com/docs/mcp.md); one that names none cannot.

## A partner's own numbers (/p#token)

`GET /v1/partner_page`

Operation id `getPartnerPage`.

A partner's own numbers: tickets and revenue net of refunds, comps and pass-through money, by day, code and link, for each event they have a code, a link or sales of their own in. Revenue is what buyers paid, with fees and tax. Totals only: never a buyer, an order, or another partner's rows, and no commission or payout. The link's secret is the credential, sent in the `Partner-Token` header (never in a path, so no request log holds it); a link that never existed, was replaced, was turned off or has ended all answer `partner_link_revoked` (401). Rate limited per link and per network, per server instance. The numbers are at most about a minute old, 5 minutes for a partner with over 1,000 codes: past that it answers 202 with `retry_after` for a few seconds while new ones are put together, and if they can't be it answers the last ones, with `as_of` saying how old. Not kept by a browser or a proxy.

**Who may call it.** Whoever holds a partner's private page link (its secret in the `Partner-Token` header).

**Answers 200.** The numbers.

**Fields** (`PartnerPage`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "partner_page" |  |
| `org` * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
| `partner` * | object |  |
| `mode` * | "test" \| "live" | `test`: made-up sales, and the page says so. |
| `as_of` * | string (date-time) | When these numbers were built: at most about a minute ago, or 5 minutes for a partner with over 1,000 codes, or older while a rebuild is on its way. |
| `today` * | string | The day `as_of` falls on in the organizer's timezone: the zone `by_day` is in. |
| `more_events` * | boolean | True when older events may be missing: there are more than the page holds (20, by latest last day), or, for a link made for every event, the org has more than the 200 newest looked through. |
| `codes_cut` * | boolean | True when this partner owns more codes than the page reads (25,000): `by_code` may be short. Tickets and revenue are not, they are the partner's own row. |
| `events` * | array of object |  |

\* required

**Answers 202.** Being put together: ask again after `retry_after` seconds.

**Fields** (`PartnerPagePending`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "partner_page_pending" |  |
| `retry_after` * | integer | Seconds to wait before asking again. |

\* required

**Errors of its own.** [`partner_link_revoked`](https://tickets.roostertail.com/docs/errors.md#partner_link_revoked). The errors every operation can answer are on [the errors page](https://tickets.roostertail.com/docs/errors.md).
