View attendance
Attendance in Communal is tracked through two resources: attendance sheets (one per session per date) and attendance records (one per participant per sheet). This guide shows you how to list attendance sheets for a session, load records for a specific date, and retrieve individual attendance entries with participant details.
Before you begin
- Authentication — you need a valid API key.
- Programs & registration — understand how attendance sheets and records fit into the registration domain.
1. List attendance sheets for a session
Start by fetching the attendance sheets for a registration opportunity. Each sheet represents a single date, so a multi-day session will have one sheet per meeting date.
Code
The response includes a paginated list of sheets, each identified by its date and linked to the registration opportunity.
Code
2. Filter sheets by date
When you need the attendance sheet for a specific day — for example to show today's roster — add the filter[date] parameter.
Code
This returns at most one sheet matching that session and date. Use this to resolve the correct sheet ID before loading its attendance records.
3. Load a sheet with its attendance records
To get a complete attendance view for a single date, fetch the sheet by ID with include=records. Each record carries a status and optional notes for one participant.
Code
Code
Attendance statuses are: present, absent, late, excused, excluded, and unmarked (the default when a record is first created).
4. List attendance records with participant details
When building a roster view that shows participant names alongside their attendance status, query the records endpoint directly and include the program signup.
Code
The programSignup include returns the signup record with participant contact details like associated_name and associated_email, so you can display a complete attendance list without additional requests.
To load the full context for a single attendance record — including both the sheet and the signup — use the show endpoint with both includes:
Code
What's next
- Retrieve program signups — list and filter the signups that attendance records link to
- Browse registration opportunities — find the session IDs to query attendance for
- See the Attendance Sheet and Attendance Record endpoints in the API Reference for the complete list of fields and includes