Add Invite
Event Endpoints
Add Invite
Invite a user to an event (host-only)
POST
Add Invite
Creates an EventInvite for a user. Host-only (service/master keys bypass the check). The invite is keyed on a Sublay
See also: useAddInvite
userId (never a foreign ID) and is idempotent against the unique (eventId, userId) constraint — re-inviting an already-invited user is a no-op success.
For an invite-visibility event, the invited user can now see and RSVP to the event. When the notifications bundle is present, the invitee receives an event-invite notification (best-effort).
Path Parameters
UUID of the event.
Body Parameters
The user to invite.
Response
Returns the updated Event.Error Responses
Not Found — 404
Not Found — 404
Forbidden (not a host) — 403
Forbidden (not a host) — 403

