Schedules
Preview upcoming occurrence dates for a recurrence config
PURE and side-effect-free: no schedule is read or written. Wraps domain/recurrence.ts + domain/timezone.ts to show the next occurrence dates a recurrence configuration would produce, so an agent can confirm with the human before calling POST /schedules. Requires the read scope.
post/api/v1/schedules/preview
Request
- Base URL: https://volunteerreminder.com
- URL: https://volunteerreminder.com/api/v1/schedules/preview
- Auth: HTTP bearer
Request body
Example request
{
"schedule_type": "weekly",
"days_of_week": [
"sunday"
],
"nth_weekday": "tuesday",
"week_of_month": 2,
"day_of_month": 15,
"start_month": 1,
"time": "09:00",
"custom_dates": [
"2026-08-01",
"2026-09-05"
],
"count": 8
}Response
The computed occurrence dates.
Example response
{
"occurrences": [
{
"date": "2026-07-14",
"weekday": "Tuesday",
"label": "Tue Jul 14 9:00 AM"
}
],
"time_zone": "America/Chicago"
}Changes
No recorded changes to this operation across all 1 revision of this API.