Create Event
Event Endpoints
Create Event
Create an event, optionally with a cover image and gallery
POST
Create Event
Creates an event. The authenticated user becomes the creator (
See also: useCreateEvent · node-sdk · js-sdk
userId) and is automatically added to hostIds. Supports inline cover and gallery image upload via multipart/form-data.
The required location fields depend on type: online needs a url; physical needs an address or location; hybrid needs both a url and an address/location.
Requires authentication. Space-scoped events (spaceId) require the spaces bundle and active membership of the space. Image upload requires the files-images bundle.
Body Parameters
Event title. 1–300 characters.
ISO datetime when the event starts. RSVPs close at this moment.
"online", "physical", or "hybrid". Controls which location fields are required.Optional description.
Optional ISO datetime when the event ends.
Optional IANA timezone string, e.g.
"America/New_York".Join/stream URL. Required for
online and hybrid events.Optional venue name.
Street address. Required (alone or with
location) for physical and hybrid events.Geographic coordinates. Stored as a GeoJSON point and used for proximity search. On multipart requests, send as a JSON string.
Optional UUID of a space to scope the event to. Requires the
spaces bundle and active membership. Mandatory when visibility is "members"."public", "members", or "invite". Defaults to "public". "members" requires a spaceId.Maximum number of
going RSVPs. Positive integer. Omit for unlimited.Whether a
"maybe" RSVP is allowed. Defaults to true.Whether non-hosts can view the named guest list. Defaults to
true.Additional host user IDs. The creator is always added automatically. On multipart requests, send as a JSON string.
Arbitrary key-value data. Up to 1 MB.
Service/master key only. Create the event on behalf of this user (who becomes the creator and first host).
Optional single cover image. Multipart file field. Requires
cover.options when provided.JSON-stringified image-processing options for the cover (the same discriminated union used by Upload Image).
Optional gallery images (up to 10). Multipart file field. Requires
gallery.options when provided.JSON-stringified image-processing options applied to every gallery image.
Response
Returns201 with the created Event object, including inline rsvpCounts and (with images) the files association.
Error Responses
Invalid Body — 400
Invalid Body — 400
files-images Bundle Required — 403
files-images Bundle Required — 403
spaces Bundle Required — 403
spaces Bundle Required — 403
Space Not Found — 404
Space Not Found — 404
Not a Space Member — 403
Not a Space Member — 403
File Too Large — 413
File Too Large — 413
Invalid Image — 422
Invalid Image — 422

