Inbox tools
All tool areas. Each tool acts within your access.
Inbox
list_inbox
List what needs a person's attention, as the Inbox does. Needs action: proposals and approvals waiting on a person (none until agents make them), money owed back to a guest at the desk after a session was called off or moved (desk_refund: mark it with mark_refund_given once it's handed over; for those who can refund there), overdue invoices (invoice_overdue), and a card refunded in the payment provider after part of it was given back as a credit or gift certificate (refund_exceeded: void each unused one in instruments; for those who can refund there, until each is voided or used), and its count, which is the badge. Updates: the activity log's events you can see (except a guest's hold steps and attendees' party page steps, which stay in the log), newest first, grouped by the organization's days with each day's alerts (private bookings, late cancellations, failed payments, disputes, failed refunds, overdue invoices, cards refunded twice) first, each with what it's about. Alerts are for members who hold alerts:read where they happened. Page back with before; a day that runs across pages is ordered within each. Scope to one location with locationId.
Reads · Members of an organization · Needs activity:read
Input
limitThe most results to return (default 30)
beforeAn event id; returns updates older than it
locationIdThe location's id, from get_setup
Output
timeZoneThe organization's time zone (an IANA name), which each update's
dayis in. Times shown with the updates go by itneedsActionneedsAction[]needsAction[].idA proposal's id (prp_…); for a desk_refund, the refund (rfd_…); for an invoice_overdue, the invoice (ivc_…)
needsAction[].kindproposal: an AI agent's proposed change (
proposal); approve_proposal or reject_proposal decides it. desk_refund: a session was called off or moved, and part of a booking was paid at the desk, so staff owe it back; mark_refund_given clears it. refund_exceeded: the card was refunded in the payment provider after part of it was already given back as a credit or gift certificate, so the guest has both; void_credit or void_gift_certificate on each unused one ininstrumentstakes that refund back, and it clears once each is voided or used. unpaid_shares: a split booking's guests didn't all pay their shares, the organizer's saved card couldn't be charged, and the grace period ran out: keep the seats (take the payment at the desk, or extend_split_deadline) or release them (release_unpaid_seats); charge_unpaid_shares tries the card again. It clears once nothing is owed, the seats are released, or the deadline is extendedneedsAction[].titleneedsAction[].reasonneedsAction[].impactWhat approving would change: for a proposal, its preview's details in the tool's own shape ({} when it has none); for the others, the changeset impact shape (bookings, guests, money, notify, other)
needsAction[].impact.*needsAction[].actorneedsAction[].actor.kindneedsAction[].actor.nameneedsAction[].createdAtneedsAction[].locationTimeZoneFor a desk_refund, the refund location's IANA time zone for showing its date and time
needsAction[].approveLabelneedsAction[].refundIdA desk_refund's refund (rfd_…), for mark_refund_given; a refund_exceeded's, the provider's refund past what was left
needsAction[].orderIdA desk_refund, invoice_overdue, refund_exceeded, or unpaid_shares' booking order (ord_…)
needsAction[].instrumentsA refund_exceeded's credits and gift certificates still unused, each to void (void_credit, void_gift_certificate)
needsAction[].instruments[]needsAction[].instruments[].kindneedsAction[].instruments[].idThe credit (crd_…) or gift certificate (gc_…)
needsAction[].instruments[].codeMasked: •••• and its last 4
needsAction[].instruments[].amountWhat the refunds gave it, in minor units
needsAction[].invoiceIdAn invoice_overdue's invoice (ivc_…)
needsAction[].proposalA proposal's card: what, why, impact, confidence, expiry
needsAction[].proposal.proposalIdneedsAction[].proposal.changesetIdThe agent's own preview (chg_…)
needsAction[].proposal.toolThe tool it would call, which Edit opens with get_proposal's input
needsAction[].proposal.agentneedsAction[].proposal.agent.idneedsAction[].proposal.agent.kindneedsAction[].proposal.agent.nameneedsAction[].proposal.onBehalfOfneedsAction[].proposal.onBehalfOf.memberIdneedsAction[].proposal.onBehalfOf.nameneedsAction[].proposal.summaryneedsAction[].proposal.changesneedsAction[].proposal.changes[]needsAction[].proposal.changes[].actionneedsAction[].proposal.changes[].subjectneedsAction[].proposal.changes[].descriptionneedsAction[].proposal.warningsWhat to tell the person before they apply it that isn't a change itself, e.g. upcoming sessions a lower capacity leaves oversold
needsAction[].proposal.warnings[]needsAction[].proposal.staleneedsAction[].proposal.stale.reasonneedsAction[].proposal.whyneedsAction[].proposal.evidenceneedsAction[].proposal.evidence[]needsAction[].proposal.evidence[].labelneedsAction[].proposal.evidence[].hrefneedsAction[].proposal.confidenceneedsAction[].proposal.expiresAtneedsAction[].toolThe tool that acts on it: approve_proposal for a proposal, mark_refund_given for a desk_refund, get_invoice for an invoice_overdue, void_credit or void_gift_certificate (its first instrument's) for a refund_exceeded, release_unpaid_seats for unpaid_shares (or extend_split_deadline, charge_unpaid_shares)
needsActionCountThe inbox badge: only what needs action, never updates
updatesupdates[]updates[].eventupdates[].event.idupdates[].event.typeupdates[].event.actorupdates[].event.actor.typeupdates[].event.actor.idupdates[].event.actor.viaupdates[].event.actor.nameupdates[].event.subjectupdates[].event.subject.typeupdates[].event.subject.idupdates[].event.subject.labelupdates[].event.locationNameupdates[].event.changesupdates[].event.changes[]updates[].event.changes[].fieldupdates[].event.changes[].beforeupdates[].event.changes[].afterupdates[].event.changesetIdupdates[].event.draftedBySet when the command bar's assistant drafted the change this event came from, and the person (the actor) previewed and applied it: the assistant (agt_...) and its model call (aic_...). Always sent; null otherwise
updates[].event.draftedBy.agentIdupdates[].event.draftedBy.callIdupdates[].event.dataWhat the event recorded, which can hold amounts and guests' names. Null without both orders:amounts and customers:contact where the event belongs; billing, member/invitation, agent, and API-key events also need billing:read, members:read, agents:read, and api_keys:write respectively at the organization
updates[].event.data.*updates[].event.maskedTrue when
datawas withheldupdates[].event.createdAtupdates[].dayThe date it happened on in the organization's time zone, for grouping into days
updates[].alertA staff alert: a private booking made, a late cancellation, a failed payment, a dispute opened, a failed refund, an overdue invoice, a card refunded twice (refund_exceeded). Only for those holding alerts:read where it happened
updates[].alertKindupdates[].alertLabelupdates[].summaryA plain summary for settings, fees, credits, cards, session moves and customer notes; null keeps the existing event title
updates[].actorNameupdates[].hrefupdates[].undoupdates[].undo.changesetIdupdates[].undo.untilupdates[].subjectupdates[].subject.typeupdates[].subject.idupdates[].subject.labelWhat to call it: the booking code, else the product's name; null when it isn't known
updates[].subject.codeThe booking code, for an order, payment, or refund. Needs bookings:read
updates[].subject.customerNameThe guest's name, a first name only without customers:contact. Null without bookings:read
updates[].subject.productNameupdates[].subject.locationIdupdates[].subject.locationNameupdates[].subject.locationTimeZoneupdates[].subject.timeZoneThe subject location's IANA zone; show sessionStartsAt in this zone
updates[].subject.sessionStartsAtWhen its session starts. Needs bookings:read
updates[].subject.partySizeNeeds bookings:read
nextBefore