Skip to main content
POST
Set RSVP
Sets or changes the caller’s RSVP. A new RSVP is created, or an existing one is switched, and the event’s rsvpCounts are updated atomically. Requires authentication, and the caller must be able to see the event (otherwise 404). Transitions into going are capacity-checked under a row-level lock, so an event can never be oversold. Rules:
  • RSVPs close at startTime.
  • A cancelled event rejects RSVPs.
  • "maybe" is rejected when the event’s allowMaybe is false.
  • "going" (new or switched into) is rejected when rsvpCounts.going has reached capacity.

Path Parameters

string
required
UUID of the event.

Body Parameters

string
required
"going", "maybe", or "not_going".
string
Service/master key only. RSVP on behalf of this user.

Response

Returns the Event with refreshed rsvpCounts and the caller’s userRsvp.

Error Responses

See also: useSetRsvp