AMS Docs

Events API

The Events API lets you create, manage, and query events including registrations, attendee check-in, ticketing, and virtual meeting integrations. All endpoints require a Bearer token — see API Authentication.

Endpoints

MethodEndpointDescription
GET/api/v1/eventsList all events (paginated)
POST/api/v1/eventsCreate a new event
GET/api/v1/events/{id}Get a single event
PUT/api/v1/events/{id}Update an event
DELETE/api/v1/events/{id}Cancel/delete an event
GET/api/v1/events/{id}/registrationsList registrations for an event
POST/api/v1/events/{id}/registerRegister a member for an event
DELETE/api/v1/events/{id}/registrations/{reg_id}Cancel a registration
POST/api/v1/events/{id}/check-inCheck in attendee via QR code or ID
GET/api/v1/events/{id}/ticketsList ticket types for an event
POST/api/v1/events/{id}/ticketsCreate a ticket type

Event Object Schema

FieldTypeDescription
idstringUnique event ID (read-only)
titlestringRequired. Event name
descriptionstringRich-text description (HTML allowed)
typestringin-person, virtual, or hybrid
statusstringdraft, published, cancelled, completed
starts_atdatetimeRequired. ISO 8601 start datetime
ends_atdatetimeRequired. ISO 8601 end datetime
timezonestringIANA timezone (e.g. Asia/Hong_Kong)
venue_namestringPhysical venue name (for in-person/hybrid)
venue_addressstringFull venue address
virtual_urlstringZoom/Teams meeting URL (for virtual/hybrid)
capacityintegerMaximum attendees (null = unlimited)
registration_deadlinedatetimeLast date/time for registrations
is_paidbooleanWhether tickets require payment
cover_image_urlstringURL of event banner image (read-only)
registrations_countintegerCurrent registration count (read-only)

Creating an Event

bash — create event
curl -X POST https://yourdomain.ams.hkus1.s4s.host/api/v1/events \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Annual Leadership Summit 2026",
    "description": "Our flagship annual conference...",
    "type": "hybrid",
    "starts_at": "2026-09-15T09:00:00Z",
    "ends_at": "2026-09-17T17:00:00Z",
    "timezone": "Asia/Hong_Kong",
    "venue_name": "Hong Kong Convention Centre",
    "venue_address": "1 Expo Drive, Wan Chai, Hong Kong",
    "virtual_url": "https://zoom.us/j/123456789",
    "capacity": 500,
    "registration_deadline": "2026-09-10T23:59:59Z",
    "status": "published",
    "is_paid": true
  }'

Managing Registrations

Register a member for an event and optionally specify a ticket type:

bash — register member
curl -X POST https://yourdomain.ams.hkus1.s4s.host/api/v1/events/evt_01HXYZ/register \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "member_id": "mem_01HXYZ",
    "ticket_type_id": "tkt_vip",
    "quantity": 1,
    "dietary_requirements": "vegetarian",
    "send_confirmation": true
  }'

Check-In via QR Code

Each registration generates a unique QR code. At the event entrance, scan the QR code to check in the attendee. The QR code value is the registration ID (reg_XXXXX).

bash — check in attendee
curl -X POST https://yourdomain.ams.hkus1.s4s.host/api/v1/events/evt_01HXYZ/check-in \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "registration_id": "reg_01HABC",
    "checked_in_by": "staff_01HDEF"
  }'

# Response
{
  "success": true,
  "member_name": "Sarah Ahmed",
  "ticket_type": "VIP",
  "checked_in_at": "2026-09-15T08:47:23Z"
}

Event Types

Ticketing API

For paid events, create multiple ticket types (e.g. Early Bird, Standard, VIP) with different prices and capacities:

bash — create ticket type
curl -X POST https://yourdomain.ams.hkus1.s4s.host/api/v1/events/evt_01HXYZ/tickets \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Early Bird",
    "price": 500,
    "currency": "HKD",
    "capacity": 100,
    "sale_starts_at": "2026-06-01T00:00:00Z",
    "sale_ends_at": "2026-07-31T23:59:59Z",
    "member_only": true
  }'

Webhooks for Event Actions

Subscribe to event-related webhook events to receive real-time notifications in your systems:

See the Webhooks documentation for setup instructions and payload format.