An event is one event record. What people can get into it is a set of ticket types (event_ticket_type), each tied to the event by data.event. A purchase is a booking (event_booking) holding one or more tickets (event_ticket). Every scan at the door, allowed or refused, is an event check-in (event_checkin).
This page is the job from an empty calendar to the last person through the door. The field references are elsewhere; link to them instead of repeating them:
- every event, session, zone, scan point and ticket type field: Event setup;
- bookings, QR codes, transfers, comps, refunds and credentials: Tickets and bookings;
- what staff do on the phone at the door and the desk: Events and ticket scanning, Ticket sales and accreditation, Event access, re-entry and benefits;
- what the attendee sees in their account: The customer account portal (the
eventssection).
Restaurant and venue check-in (the waiting queue, walk-ins, seating a party) is a different system with the same word in its name. It runs on reservations, not tickets: see Check-in workflow and Booking type and availability.
Ask first
- The event: name, date, start and end time, time zone, venue and address, a short description and a cover picture.
- Who gets in, on what: each ticket type's name, price (0 for free), how many exist, and the most one person may hold.
- When sales open and close, if not "from now until the event".
- Areas and doors: one room, or several zones with their own capacity (hall, VIP lounge)? Which doors scan, and which ticket types each door takes?
- Can people leave and come back in? How many times?
- Who gets free tickets (speakers, sponsors, staff), with their emails.
- Where people get tickets: on the website (which page), at the door, or only by staff.
- Paid tickets need a payment provider connected. Is Stripe connected? See Take payments on the site.
Steps
1. Events: the event, as a draft
Create it with call_appengine POST /crm/events/create. repo_create with datatype event is refused (event should be created using CRMService api); this call is the one Studio's form uses.
{
"data": {
"title": "Launch Night",
"startTime": "2026-12-05T19:00:00-06:00",
"endTime": "2026-12-05T22:00:00-06:00",
"timezone": "America/Chicago",
"venue": "The Hall",
"address": { "street1": "1500 Marilla St", "city": "Dallas", "region": "TX", "postalCode": "75201", "country": "US" },
"description": "…",
"coverImage": "https://…/cover.jpg",
"zones": [{ "id": "main", "name": "Main Hall", "capacity": 300 }],
"scanPoints": [{ "id": "gate", "name": "Main Gate", "zone": "main", "scanType": "entrance", "matchField": "ticket_code", "isActive": true }]
}
}What the engine does with it (crm/events.service.ts 25–131, tested):
| Field | Rule |
|---|---|
startTime | Required, a full ISO date-time with its offset. Refused when missing, unreadable or in the past: event starttime must be in the future. |
endTime | Optional, same format, not before startTime. |
startDate / endDate | Filled from the times (2026-12-05). |
status | Always saved as draft, whatever you send. |
slug | Made from the title (launch-night) when you send none; the event number is added when the slug is taken. |
days[], stats | Made for you: one day per date with its clock times, and zeroed counts. |
zones[], scanPoints[] | Only needed for zone capacity and named doors. Give each an id; the door matches zones by id. |
Sending attendees: [{ email }] on the create emails each of them an event-invitation. Leave it out unless the owner asked for invitations.
Hands on: the event's sk and slug.
Check: open Events (/events-management?tab=events), then the event (/events-management?openEvent=<sk>): status Draft, date, time and venue as meant.
2. Events › Ticket Types: what people can get
One record per ticket type, with repo_create (datatype event_ticket_type) or call_appengine PUT /repository/create:
{ "datatype": "event_ticket_type", "isNew": true,
"data": { "event": "<event sk>", "title": "General Admission", "price": 25, "currency": "USD",
"capacity": 250, "maxPerOrder": 6, "allowReentry": true, "reentryLimit": 2,
"isActive": false } }The fields that decide what happens (full list: Ticket types):
| Field | Default | What it does |
|---|---|---|
event, title | required | The event's sk, and the name buyers see. |
price | 0 | 0 means free: no payment, tickets issued at once. Send "price": 0 for a free type; the one-per-person default below needs it. |
capacity | unlimited | Total tickets of this type. soldCount counts up as tickets are issued (comps too). |
maxPerOrder | 10 | Per purchase. |
maxPerCustomer | none; 1 when price is 0 | Counted by email across their tickets of this type that aren't cancelled or refunded. Studio's hint "Empty = no limit" is wrong for free types: empty means 1. |
saleStartDate / saleEndDate | open | Outside the window: … is not on sale yet / … sale has ended. |
isActive | true | false hides the type from the site and refuses purchases. |
allowReentry / reentryLimit | false / unlimited | A second entry after an exit is refused unless on. The limit counts returns after the first entry. |
zoneAccess[] | every zone | Zone ids this type may enter. |
allowTransfer | false | Whether a holder may pass the ticket on. |
perks[] | none | Meals, drinks, merchandise; see Event access, re-entry and benefits. |
Ticket types open for sale by their own Active switch and sale window, not by the event's status. Save them with "isActive": false while the event is a draft, and switch them on in step 3.
Hands on: each ticket type's sk.
Check: the event's Ticket Types tab (/events-management?openEvent=<sk>&eventTab=ticket-types) lists them with price and capacity. GET /client/events/<slug>/ticket-types (what the site reads) lists only the active ones.
3. Events: publish
Stop: publishing puts the event on the site's event list, and active ticket types can be bought. Show the owner the event in plain words ("Launch Night, Sat 5 Dec, 7–10pm Central, The Hall; General $25 × 250, VIP $60 × 50, free RSVP one each") and wait for yes.
Then call_appengine POST /events/<sk>/publish (Studio: the event's Publish button). It refuses an event without a title or start date. Switch the ticket types on: POST /repository/update-partial/event_ticket_type/<sk> with { "data.isActive": true } (or the Active switch on each).
What publishing changes:
- The event appears in
GET /client/events(whatwindow.appmint.events.list()returns), which lists published and live events only, latest start date first. Draft, completed and cancelled events are left out. GET /client/events/<sk or slug>reads one event by its id or slug.- From now on, any staff edit to the event while it is published or live emails every ticket holder an
event-update(with what changed in date, time or place). Make all corrections before tickets go out.
Hands on: the published event.
Check: GET /client/events without signing in lists it.
4. Website: where people get tickets
There is no built-in events page on a site. The engine has the public calls; a page of yours calls them through window.appmint.events (The AppMint JS engine on a page, Build a website page with components):
| Call | Sign-in | What it does |
|---|---|---|
events.list({ limit }) | none | Published and live events (rows). |
events.get(slugOrSk) | none | { event, ticketTypes }. |
events.ticketTypes(slugOrSk) | none | The active ticket types. |
events.purchaseTickets({ eventId, email, name, items: [{ ticketTypeId, quantity }] }) | none | Checks every rule in step 2, then makes the booking. Free: tickets are issued now and the booking comes back paid. Paid: the booking is pending with its total; the page takes payment and confirms the order (Payments). |
events.register({ eventId, ticketTypeId, quantity, bookingId }) | customer | Free types only, for a signed-in customer; refuses a priced type (This ticket has a price. Buy it through checkout.). |
events.myTickets() | customer | Their tickets, by their email. |
A refused purchase answers 400 with the sentence to show, before anything is saved: Maximum 1 Free RSVP per customer, Only 3 VIP tickets available, Maximum 6 General Admission per order, … sale has ended (tested).
When a free purchase or a confirmed paid order issues tickets, the buyer gets event-order-confirmation with the ticket codes and a calendar invite (event.ics), and the business gets a copy at its organisation email unless notificationCopyTo.event.sendCopyTo is false in the base settings.
Signed-in customers also see their tickets under /account/events. The account and the website show no QR code: the scannable QR lives in the attendee app, and refreshes every 60 seconds. The 12-character ticket code in the confirmation email works at the door too (step 6).
Hands on: the page's address.
Check: open the page signed out: the event and its ticket types show. Try one free registration with a @test.local email only if the owner agrees to the copy reaching their inbox, and delete it after.
5. Events › Tickets: free tickets from staff
For speakers, sponsors and staff, call_appengine POST /events/tickets/comp:
{ "eventId": "<event sk>", "items": [{ "ticketTypeId": "<sk>", "quantity": 1, "holderEmail": "[email protected]", "holderName": "Ana Diaz" }] }Studio: the event's Tickets tab, Add Tickets (Complimentary). Each ticket is issued confirmed with no payment, counts against the type's capacity, and is emailed to its holder at once (event-ticket-confirmation).
Stop: each comp emails a real person. Show the owner the list (names, emails, ticket type) and wait for yes.
POST /events/<sk>/tickets with { ticketTypeId, holderEmail, holderName } issues one ticket the same way; "skipNotification": true issues it without the email (hand the code over yourself). Selling at the desk with payment, pre-printed stock and badge pickup are on the phone: Ticket sales and accreditation.
Hands on: the tickets' codes (name, 12 characters).
Check: the event's Tickets tab lists each holder as Confirmed; the ticket type's Sold went up by one per ticket.
6. At the door: check in and out
Staff check people in; it needs a staff sign-in. On the day, staff use Appmint Mobile (Entry, Exit and Benefits modes at a chosen scan point), or Studio's Check-in screen (/events-management?openEvent=<sk>&eventTab=checkin-screen). Both call:
| Call | Body | Result |
|---|---|---|
POST /events/checkin | { code, eventId, checkpoint?, zone? } | success: true with zoneOccupancy, or success: false with reason |
POST /events/checkout | the same | records the exit |
GET /events/<sk>/occupancy | per zone: inside now, capacity, % full, entrance scans | |
GET /events/<sk>/checkin-stats | total scans, successful entries, denied, unique attendees, inside now, by zone, by hour |
code can be the attendee's live QR, or the 12-character ticket code (any case). A refusal is an ordinary answer with success: false, not an error, and it is saved as a denied check-in so it shows in the stats. Send checkpoint (the scan point's id or name) rather than a zone; a zone must be the zone's id (main), and a name (Main Hall) is refused with Zone is not configured for this event (tested).
What the door answers (events/event-checkin.service.ts 33–135, all tested except benefits):
reason | Why | Fix |
|---|---|---|
Ticket is already inside. Record an exit before re-entry. | the last scan was an entry | scan them out at an exit first |
Re-entry is not allowed for this ticket. | they came in once, and the type has allowReentry off | turn it on for the type, if the owner wants returns |
Re-entry limit reached for this ticket. | returns used up (reentryLimit) | raise the limit |
Main Hall is at capacity. Wait for an exit. | the zone's capacity is reached | exits free places |
Ticket is cancelled / Ticket is refunded | cancelled or refunded | |
Access denied to this zone | the type's zoneAccess doesn't include this zone | |
This ticket type is not accepted at this scan point | the point's acceptedTicketTypes | use the right door |
QR code expired | the QR is over 60 seconds old | refresh it in the app, or type the ticket code |
No ticket found for this code / Ticket belongs to a different event | wrong code or wrong event selected | |
Event is cancelled |
A first entry sets the ticket to checked_in, adds one to the event's attendees and emails the holder event-checkin-confirmation. Every entry also replaces the ticket's QR secret, so a screenshot of the old QR stops working. The ticket code keeps working.
Hands on: the live occupancy and stats.
Check: one test scan (a staff test ticket) shows success: true, and the occupancy goes up by one.
7. Events: live, then complete
POST /events/<sk>/live when doors open; POST /events/<sk>/complete after. Live is a label: check-in works on a published event too (tested), and still works after Complete. Complete takes the event off the site's list. Going live counts as a staff edit to a live event, so it sends ticket holders an event-update email (step 3).
To call it off: cancel each booking first (POST /events/bookings/<bookingId>/cancel or …/refund), which cancels its tickets and emails the buyer, then POST /events/<sk>/cancel. Cancelling the event on its own sends nobody anything and leaves the tickets as they were; the door then refuses every scan with Event is cancelled. Cancel, refund and delete for single tickets: Cancel, refund, delete and Refund, cancel or return an order.
Stop: cancelling or refunding emails each buyer, and a refund returns money. Show the owner who will be told and what is refunded, and wait for yes.
Every message, and when
| Moment | Template | To |
|---|---|---|
Event created with attendees | event-invitation | those emails |
| Free purchase, or paid order confirmed | event-order-confirmation (+ event.ics) | buyer, and a copy to the business |
| Staff issue or comp a ticket | event-ticket-confirmation | holder (not with skipNotification) |
| Staff edit a published or live event (including going live) | event-update | every holder of a ticket not cancelled or refunded |
| First entry at the door | event-checkin-confirmation | holder |
| Ticket cancelled / refunded | event-ticket-cancelled / event-ticket-refunded | holder (cancel with silent: true sends none) |
| Booking cancelled | event-order-cancelled | buyer |
| Event deleted | event-ticket-cancelled, event-order-cancelled | every holder and buyer; all its tickets and bookings are cancelled |
Templates are edited in Studio; see notifications.
When it's done
Tell the person:
- the event, its date, time and place, its status, and its page address;
- each ticket type: price, how many, the per-person limit, re-entry, sale window, whether it is on;
- who was comped and emailed;
- for the door: which scan points exist and which zone each counts, and the ticket code fallback.
Open it at /events-management?openEvent=<sk>.
What it can't do yet
- No reminders are scheduled. The 24-hour, morning-of, 1-hour and start reminders are built from
startDateplusstartTimeas"<date>T<time>:00"(event.service.ts679), but events now storestartTimeas a full date-time, so the date is unreadable and no schedule is made (tested: none for a new event). Send a reminder yourself (a broadcast to the ticket holders), and say so. - No built-in events page on the site. Ticket sales need a page of yours (step 4); base-app's event list and detail components aren't routed anywhere.
window.appmint.events.myBookings()fails: it callsclient/events/bookingwith no email or booking id, which the engine refuses (runtime/namespaces.ts863). UsemyTickets().- A comp's reason isn't kept.
POST /events/tickets/comptakesreasonbut doesn't save it (event-ticket.service.ts665–695). Put the reason in the holder name or a note. - Studio's check-in screen asks for a zone by name ("e.g. Main Hall"), which the door refuses; it needs the zone's id. Use a scan point instead (
checkin-screen.tsx401, 462). - The door doesn't close. Check-in accepts scans for draft, published, live and completed events alike; only a cancelled event refuses.
- Cancelling an event doesn't cancel its tickets or tell anyone (step 7).
Don'ts
- Don't create the event with
repo_create; usePOST /crm/events/create. - Don't leave ticket types active on a draft event.
- Don't edit a published event casually: every save emails every holder.
- Don't send a free test registration on a real site without the owner knowing the business copy reaches their inbox; use
@test.localemails and delete the tickets after. - Don't comp or cancel without showing the owner who will be emailed.
- Don't type zone names into the check-in call; use the scan point.
- Don't promise reminder emails until the scheduling is fixed.