# Party page tools

[All tool areas](/docs/tools.md). Each tool acts within your access.

## Party page

### renew_party_link

Issue a new party link for a paid booking, so a link that went to the wrong people stops working: the old token, its PIN, and every visit made through it stop at once, and a new token and PIN replace them. The guest (the organizer) gets the new link and PIN by email, unless `sendEmail` is false. Nobody sees the link or the PIN here, staff included. It can't be undone (an old link never comes back: renew again for another one), and the manage link is not touched. A booking that isn't paid yet or was canceled has none. Returns a preview to confirm.

Changes · Members of an organization · Needs bookings:write

#### Input

- `orderId` — string; required. The order's id, from list_bookings or list_orders
- `reason` — string; required. exposed: the link was shared or posted publicly; guest_request: the guest asked; other: say why in note Allowed: "exposed", "guest\_request", "other"
- `note` — string; optional. Staff's own words; the guest never sees it minLength: 1; maxLength: 500
- `sendEmail` — boolean; optional. Email the new link to the organizer (default true) default: true

#### Output

- `orderId` — string; required. 
- `code` — string; required. 
- `partyLinkVersion` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
- `emailed` — boolean; required. 
