API reference
Events
Direct event lifecycle management. Lower-level than Bookings; use when you need precise control over time, participants, and lifecycle transitions.
Key points
- Events go through draft → scheduled → confirmed → in_progress → completed (or cancelled / no_show)
- Most integrations use Bookings; reach for /events when you have a fixed time and skip ranking
- Recurring series use a parent event with a recurrence rule; child occurrences are addressable
- Lifecycle transitions (confirm, cancel, complete) are dedicated endpoints, not status updates
Event lifecycle
Events flow through these statuses:
draft— created but not yet committed to the schedulepending— waiting on confirmation or approval from a participantscheduled— committed and on the scheduleconfirmed— participants have confirmed attendancein_progress— currently happeningcompleted— finished successfullycancelled— explicitly cancelledno_show— passed without anyone showing uprescheduled— moved to a new time (replaced by a new event at the new slot)
Status transitions happen through dedicated endpoints (/confirm, /cancel, /complete, /reschedule) — not by setting status in an update.
Create event
/api/v1/eventsCreate an event or recurring series at a specific time. Use Bookings instead if you want the engine to pick the time.
Headers
x-organization-idUUIDrequiredOrganization scope
x-template-idstringrequiredTemplate ID
Request body
Required: eventType, startTime, endTime, primaryEntityId. Include recurrence to create a series.
{
"eventType": "home_visit",
"title": "Weekly Home Visit",
"description": "Regular weekly check-in",
"startTime": "2026-04-15T09:00:00Z",
"endTime": "2026-04-15T10:00:00Z",
"primaryEntityId": "ent_pt_9001",
"participants": [
{ "entityId": "ent_staff_a8f4", "role": "provider", "isRequired": true }
],
"resources": [
{ "entityId": "res_van_2", "resourceType": "transport_vehicle", "quantity": 1 }
],
"recurrence": {
"frequency": "WEEKLY",
"byDay": ["MO"],
"interval": 1,
"until": "2026-12-31"
}
}Responses
201Event or series created. For series, the response represents the parent event.{
"id": "evt_b29f4e58-...",
"organizationId": "org-12345",
"templateId": "home_care_v1",
"eventType": "home_visit",
"title": "Weekly Home Visit",
"startTime": "2026-04-15T09:00:00.000Z",
"endTime": "2026-04-15T10:00:00.000Z",
"status": "scheduled",
"primaryEntityId": "ent_pt_9001",
"participants": [...],
"resources": [...],
"eventData": {
"visitType": "routine",
"tasksRequired": ["medication", "vitals"]
},
"createdAt": "2026-04-26T15:30:00.000Z",
"updatedAt": "2026-04-26T15:30:00.000Z"
}400Validation error in request body409Scheduling conflict detected. Unlike /bookings, /events does not return suggestions on 409 — it only reports the failure.List events
/api/v1/eventsPaginated list of events with rich filtering.
Headers
x-organization-idUUIDrequiredOrganization scope
Query parameters
entityIdUUIDFilter to events involving a specific entity
eventTypestringFilter by event type e.g. home_visit
statusenumFilter by status (any of the lifecycle statuses)
startDatedateEvents on or after this date e.g. 2026-04-01
endDatedateEvents on or before this date e.g. 2026-04-30
searchstringFree-text search
limitintegerDefault 20, max 100
offsetintegerDefault 0
orderBystringstartTime, createdAt, updatedAt
orderDirectionenumasc or desc
Responses
200Paginated event listGet event
/api/v1/events/{eventId}Retrieve a single event by ID.
Headers
x-organization-idUUIDrequiredOrganization scope
Path parameters
eventIdstringrequiredEvent ID
Responses
200Event returned{
"id": "evt_b29f4e58-...",
"organizationId": "org-12345",
"templateId": "home_care_v1",
"eventType": "home_visit",
"title": "Weekly Home Visit",
"startTime": "2026-04-15T09:00:00.000Z",
"endTime": "2026-04-15T10:00:00.000Z",
"status": "scheduled",
"primaryEntityId": "ent_pt_9001",
"participants": [...],
"resources": [...],
"eventData": {
"visitType": "routine",
"tasksRequired": ["medication", "vitals"]
},
"createdAt": "2026-04-26T15:30:00.000Z",
"updatedAt": "2026-04-26T15:30:00.000Z"
}404Event not foundUpdate event
/api/v1/events/{eventId}Update event fields. For recurring events, the scope field controls which occurrences are affected.
Headers
x-organization-idUUIDrequiredOrganization scope
Path parameters
eventIdstringrequiredEvent to update
Request body
Partial update. Mutable fields: title, description, startTime, endTime, location, participants, resources, eventData. For recurring events, scope is THIS_ONLY (default), THIS_AND_FUTURE, or ALL_IN_SERIES.
{
"title": "Weekly Home Visit (extended)",
"endTime": "2026-04-15T10:30:00Z",
"scope": "THIS_ONLY"
}Responses
200Event updated{
"id": "evt_b29f4e58-...",
"organizationId": "org-12345",
"templateId": "home_care_v1",
"eventType": "home_visit",
"title": "Weekly Home Visit",
"startTime": "2026-04-15T09:00:00.000Z",
"endTime": "2026-04-15T10:00:00.000Z",
"status": "scheduled",
"primaryEntityId": "ent_pt_9001",
"participants": [...],
"resources": [...],
"eventData": {
"visitType": "routine",
"tasksRequired": ["medication", "vitals"]
},
"createdAt": "2026-04-26T15:30:00.000Z",
"updatedAt": "2026-04-26T15:30:00.000Z"
}404Event not foundDon’t use update for status changes
Delete event
/api/v1/events/{eventId}Hard-delete an event. For most cases, prefer /cancel — it preserves audit history.
Headers
x-organization-idUUIDrequiredOrganization scope
x-user-idstringrequiredActing user for audit
Path parameters
eventIdstringrequiredEvent to delete
Query parameters
reasonstringOptional reason captured in audit log
Responses
204Deleted; no response body404Event not foundLifecycle transitions
Four endpoints handle status transitions. All require x-organization-id and x-user-id headers, take the event ID as a path parameter, and return the updated event:
POST /api/v1/events/{eventId}/confirm— moves toconfirmed; emits confirmation notifications per template configPOST /api/v1/events/{eventId}/cancel— moves tocancelled; triggers waitlist auto-promotion if configuredPOST /api/v1/events/{eventId}/complete— moves tocompleted; locks event data against further changesPUT /api/v1/events/{eventId}/reschedule— moves the original torescheduledand creates a new event at the new time
All four return 200 with the updated event, or 404 if the event ID is unknown to the organization.
Recurring series
/api/v1/events/series/{parentSeriesId}List all occurrences of a recurring series, ordered by recurrence index.
Headers
x-organization-idUUIDrequiredOrganization scope
Path parameters
parentSeriesIdstringrequiredThe parent event ID of the series
Query parameters
statusenumFilter occurrences by status
Responses
200List of series occurrencesSeries use a parent-child model. The parent is created with a recurrence rule; child occurrences are materialized lazily as they approach. Each child has its own ID and can be addressed individually for cancellation, rescheduling, or modification.
External sync
/api/v1/events/sync/external/{externalSystemName}/{externalEventId}Look up an event by its external system ID. Useful when reconciling state after webhook delivery.
Headers
x-organization-idUUIDrequiredOrganization scope
Path parameters
externalSystemNamestringrequiredName of the external system (e.g. outlook, netsmart)
externalEventIdstringrequiredID of the event in the external system
Responses
200FlexiScheduler event mapped from the external reference{
"id": "evt_b29f4e58-...",
"organizationId": "org-12345",
"templateId": "home_care_v1",
"eventType": "home_visit",
"title": "Weekly Home Visit",
"startTime": "2026-04-15T09:00:00.000Z",
"endTime": "2026-04-15T10:00:00.000Z",
"status": "scheduled",
"primaryEntityId": "ent_pt_9001",
"participants": [...],
"resources": [...],
"eventData": {
"visitType": "routine",
"tasksRequired": ["medication", "vitals"]
},
"createdAt": "2026-04-26T15:30:00.000Z",
"updatedAt": "2026-04-26T15:30:00.000Z"
}404No event found for this external reference