Calendar export
ICS calendar export
Universal .ics downloads from every event view.
Backend details
Event owners and attendees can export an event in .ics iCalendar format.
- ICS file served via:
GET /api/v1/events/{event_id}/event.ics - Times are normalized to UTC per RFC 5545.
- The ICS file includes: title, description, location (when allowed), and event duration.
If admin approval is required, the location stays hidden unless the request includes an approved Yes RSVP token or an admin/root token.
curl -H "Authorization: Bearer <token>" \\\n http://localhost:8000/api/v1/events/{event_id}/event.ics
Frontend details
A single “Add to Calendar” button appears on each event page. No platform autodetection is needed because .ics is universally supported.
- Works with iPhone / iPad (Apple Calendar), Android Calendar, Google Calendar (import), macOS Calendar, and Windows Outlook.
- Clicking the file prompts the device to add the event with its start/end time, title, description, and location.
Future enhancements (design consideration)
- Support for reminders/alarms
- Adding a URL back to the event
- Adding organizer metadata