Skip to main content
Events are scheduled social objects with a title, description, type, start and end time, origin, optional location or external URL, optional cover image, tags, metadata, and RSVP counts. The SDK event surface is currently exposed in TypeScript, iOS, and Android. The public Flutter SDK source reviewed for this page does not expose scheduled event creation, query, management, or RSVP APIs.

Platform Coverage

CapabilityTypeScriptiOSAndroidFlutter
Create eventEventRepository.createEvent(options)AmityEventRepository().createEvent(options:)AmitySocialClient.newEventRepository().createEvent()...build().create()Not exposed in the current public Flutter SDK source reviewed for this page
Get eventEventRepository.getEvent(eventId, callback)AmityEventRepository().getEvent(id:)AmitySocialClient.newEventRepository().getEvent(eventId)Not exposed
Query eventsEventRepository.getEvents(params, callback)AmityEventRepository().getEvents(options:)AmitySocialClient.newEventRepository().getEvents()...build().query()Not exposed
Query my RSVP eventsEventRepository.getMyEvents({ status }, callback)Use AmityEventQueryOptions(userId:onlyAttendee:)Use getEvents().userId(...).onlyAttendee(true)Not exposed
Update eventEventRepository.updateEvent(eventId, options)AmityEventRepository().updateEvent(id:options:)AmitySocialClient.newEventRepository().updateEvent(eventId)...build().apply()Not exposed
Delete eventEventRepository.deleteEvent(eventId)AmityEventRepository().deleteEvent(id:)AmitySocialClient.newEventRepository().deleteEvent(eventId)Not exposed
RSVPevent.createRSVP(...), event.updateRSVP(...), event.getMyRSVP(), event.getRSVPs(...)Same methods on AmityEventSame methods on AmityEventNot exposed

Event Fields

Core fields returned by the SDK include:
FieldNotes
eventIdStable event identifier. Android exposes it as getEventId().
title, descriptionEvent copy supplied at creation time.
typevirtual or in_person.
statusTypeScript and iOS expose scheduled, live, ended, and cancelled. Android also exposes DRAFT and UNKNOWN enum values for server compatibility.
startTime, endTimeRequired when creating events. TypeScript accepts ISO strings; iOS uses Date; Android uses Joda DateTime.
originType, originIdThe event origin: community or user, plus the corresponding ID.
location, externalUrl, coverImageFileIdOptional display and media fields.
tags, metadataOptional structured fields. Timezone can be stored in metadata.timezone on TypeScript/iOS and via timezone(...) on Android.
rsvpCount, interestedCountCount fields returned with the event.
creator, targetCommunity, coverImage, post, roomLinked objects are present when returned by the SDK payload/cache. Availability depends on platform and response payload.

RSVP Statuses

StatusTypeScriptiOSAndroid
GoingAmityEventResponseStatus.Going.goingAmityEventResponseStatus.GOING
InterestedNot exposed by the current TypeScript enum reviewed for this page.interestedAmityEventResponseStatus.INTERESTED
Not goingAmityEventResponseStatus.NotGoing.notGoingAmityEventResponseStatus.NOT_GOING

Common Flow

  1. Create an event with a title, description, type, start time, end time, origin type, and origin ID.
  2. Query events by origin, status, type, user ID, attendee filter, sort option, and order option.
  3. Observe a single event if the detail screen needs live updates.
  4. Let users RSVP through the methods on the returned AmityEvent.
  5. Update or delete events through the event repository when the current user has permission.
This page documents SDK method names and data surfaces only. Product policy such as who can create, edit, RSVP, or view an event is enforced by backend permissions and should be handled by your app UI and error handling.

Event Guides

Create Event

Create scheduled virtual or in-person events.

Manage Events

Get, query, update, and delete event objects.

Event RSVP

Create, update, read, and query RSVP responses.