get
https://integrate.rooflink.com/roof_link_endpoints/api/light/events/next_five_days_events/
Retrieves events organized by date for the next 6 days (today plus the next 5 days).
Permission Requirements:
- Employee users: Can access events based on scope parameter.
Scope Parameter Behavior:
- scope=self (default): Returns only events where the user is an invitee or attending. This is the default behavior.
- scope=all: For admin/employee users, returns all company events. For non-admin users and crew members, behaves the same as scope=self.
Response Format:
- Returns an object (not an array) where each key is a date string in YYYY-MM-DD format.
- Each date key maps to an array of events scheduled for that day.
- Always includes 6 dates: today and the next 5 days.
- If a date has no events, it will have an empty array as its value.
- Events within each day are ordered by start time.
Use Cases:
This endpoint is useful for weekly schedule views, planning dashboards, and mobile app schedule screens where you need to display upcoming events grouped by day.
