Events (Admin)

Create meeting spot (Admin)

POST/manage/events/:eventId/meeting-spots

Create a meeting spot. Requires the meetingSpotsWrite permission.

AuthLogin required

Path parameters

eventIdstringrequired

Event ID or slug.

Request body

namestringrequired

Spot name. Up to 100 characters (surrounding whitespace is trimmed).

descriptionstringoptional

Description; up to 500 characters.

languagesLanguagesoptional

Localized name / description.

capacitynumberrequired

Capacity; an integer of 1 or more.

activebooleanoptional

Whether the spot is active.

imageUrlstringoptional

Image URL; must be a valid URL.

locationLocationoptional

Location details.

availableTimes / blockedTimesRecord<string, [string, string]>optional

[start, end] times (HH:mm) keyed by date (YYYY-MM-DD).

tableLimitnumberoptional

Number of tables usable at once; an integer of 1 or more.

ticketIdsstring[]optional

Ticket IDs allowed to use this spot; an empty array means all tickets.

Response

Returns MeetingSpot.

Request
curl https://api.4s.link/manage/events/EVENT_ID/meeting-spots \
-X POST \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Meeting Table A",
"capacity": 4,
"active": true
}'
Example response
{
"id": "ms1a2b3-...",
"name": "Meeting Table A",
"description": "...",
"capacity": 4,
"active": true,
"imageUrl": "https://.../spot.png",
"tableLimit": 2,
"ticketIds": [],
"order": 0
}