People
Person records
๐๏ธ Get attendance history for a person
Returns all events a person has been checked in to (checkin_date IS NOT NULL), sorted by event start date descending, along with summary statistics including total events attended, last attendance date, and per-type attendance streaks.
๐๏ธ One page of Email needs attention: people the Member Portal sign-in rules let in whose email stops them (EditRecords role required)
Each row has the problem (no_email, shared_email or email_unconfirmed), who else shares a shared address, and for an unconfirmed one whether the caller may confirm it (canConfirmEmail, confirmEmailRefusal).
๐๏ธ How many people Email needs attention lists per problem, and the shared addresses behind them (EditRecords role required)
How many people Email needs attention lists per problem, and the shared addresses behind them (EditRecords role required)
๐๏ธ Fix shared emails preview: every shared personal email that stops sign-in, with who keeps it (EditRecords role required)
status fix: everyone sharing it is in one family; the head of household among them keeps it, else the spouse, the oldest first, and the people in losers would have it cleared. status by_hand: shared across families or with no head of household or spouse among them; the tool never changes these. canApply is false, with refusal, where the caller may not apply the row: only an administrator may fix a row in which anyone has a staff account or given portal permissions.
๐๏ธ Fix shared emails: clear the address from everyone but its keeper, for the chosen rows (EditRecords role required)
Each row repeats the address, keeper and losers the preview showed. A row whose sharers changed since is skipped; a by-hand row, or one the caller may not apply, is refused. Each cleared address is a staff email change (member sign-in design ยง9): audited as email_changed via shared_email_fix and, for a person who has signed in, their sessions and remembered devices end and the old address gets a notice.
๐๏ธ Confirm selected: confirm many unconfirmed emails after checking who each person is (EditRecords role required)
Each row goes through the same check as POST /person/{id}/sign-in/confirm-email: staff with Edit Records may confirm an address moved from the family email; a replacement address after the first sign-in, and any address of a person with a staff account or given portal permissions, only an administrator. Audited as email_confirmed via bulk_confirm.
๐๏ธ Get people with no personal or work email on record
Get people with no personal or work email on record
๐๏ธ Search persons by name or email
Search persons by name or email
๐๏ธ List recently self-registered persons still awaiting review
Returns self-registered persons still awaiting review who are not part of a self-registered family, newest first: individuals from the public form, and people proposed for an existing family in the Member Portal (with FamilyName set).
๐๏ธ Count self-registered families and people reviewed on their own that await review
Count self-registered families and people reviewed on their own that await review
๐๏ธ Approve several self-registered families and people at once
Clears the needs-review flag on the listed self-registered families (and their members) and people reviewed on their own (not part of a self-registered family). Ids that are not pending self-registrations are ignored.
๐๏ธ List all family roles
Returns all family role options (e.g. Head of Household, Spouse, Child) used when registering persons.
๐๏ธ Find personal email addresses shared by more than one person
Compared trimmed and in lower case. Lists the people sharing each address and their families.
๐๏ธ List the 10 most recently added persons
List the 10 most recently added persons
๐๏ธ List the 10 most recently edited persons
List the 10 most recently edited persons
๐๏ธ List persons with birthdays in a ยฑ7-day window around today
List persons with birthdays in a ยฑ7-day window around today
๐๏ธ Get mailing email addresses grouped by classification role
Returns member email addresses for all active-family people, excluding those with the DoNotEmail property. sToEmailAddress is a system setting added by the composer, not returned here.
๐๏ธ Get a person's uploaded photo
Returns the binary photo image. Returns 404 if no photo has been uploaded (use avatar endpoint for fallback).
๐๏ธ Upload a person's photo (base64 encoded)
Upload a base64-encoded image file for a person. Supported formats: PNG, JPEG, JPG, GIF, WEBP. Maximum size: 10MB.
๐๏ธ Delete a person's uploaded photo
Remove the uploaded photo for a person. This operation is idempotent and will return success even if no photo exists.
๐๏ธ Get a person's avatar info (initials, gravatar)
Returns JSON with avatar metadata for client-side rendering. Always returns a result even if no photo is uploaded.
๐๏ธ Get a person's full record by ID
Returns the complete person object including family info, addresses, and other related details. For a caller who may not edit the person, Flags is omitted and BirthYear is null when the person's age is hidden.
๐๏ธ Delete a person record
Permanently delete a person and all their associated records. A person who has a login can only be deleted by an administrator, never by themselves, and the last administrator cannot be deleted.
๐๏ธ Add a person to the cart
Add a person to the current user's cart for batch operations.
๐๏ธ Activate or deactivate a person (EditRecords role required)
Pass status=true to activate or status=false to deactivate the person. Cannot deactivate yourself.
๐๏ธ Approve a self-registered person who is not part of a self-registered family, clearing their needs-review flag
Approve a self-registered person who is not part of a self-registered family, clearing their needs-review flag
๐๏ธ Whether a person may sign in to the Member Portal, and why not (EditRecords role required)
What the person page's Portal sign-in card shows: the blocks for everyone, the member rule and the email rule, Disable sign-in, the last sign-in, and how many devices and passkeys the person has. The administrator's reason for Disable sign-in is returned to administrators only.
๐๏ธ Confirm a person's unconfirmed email after checking who they are (EditRecords role required)
An unconfirmed address receives mail but may not be used to sign in (member sign-in design ยง9). Staff with Edit Records may confirm an address moved from the family email; a replacement address after the person's first sign-in, and any address of a person with a staff account or given portal permissions, only an administrator. Writes an email_confirmed audit row.
๐๏ธ Set a person's family role
Set a person's family role
๐๏ธ Get why-came entry for a person
Get why-came entry for a person
๐๏ธ Create or update why-came entry for a person
Matches legacy WhyCameEditor permission (EditRecords). Creates if none exists for the person.
๐๏ธ Get full timeline for a person
Returns all timeline items (notes and events) for a person, filtered by the current user's permissions. Requires authentication. Notes are only included for users with Notes=1 or Admin. Plain-auth users see only non-note items (calendar events, system events). Attended events are included only for the person themselves or a user who may edit the person, matching GET /attendance/person/{personId}. Private notes are visible only to the author and admins; Notes=1 non-admin users see their own private notes only.
๐๏ธ Get full timeline for a family
Returns all timeline items (notes) for a family, filtered by the current user's permissions. Requires authentication. Notes are only included for users with Notes=1 or Admin. Plain-auth users see only non-note items. Private notes are visible only to the author and admins.
๐๏ธ List user-type notes for a person
Returns all notes of type 'note' for the person, filtered by visibility for the current user. Requires Notes=1 or Admin. Private notes authored by others are excluded for Notes=1 users; admins see all including private.
๐๏ธ Create a note for a person
Creates a note on a person's record. Requires Notes permission and Edit Records, or Admin.
๐๏ธ Get a single note by ID
Returns the note if it is visible to the current user. Admins see all notes including private. Notes=1 non-admin users see only public notes and their own private notes. Returns 404 for notes not visible to the current user (including private notes the caller cannot read โ to avoid leaking note existence).
๐๏ธ Update a note's text and/or privacy
Only the note's author or an admin may update an ordinary user note; system timeline entries are immutable. Omitting private preserves the stored privacy flag.
๐๏ธ Delete a note
Deletes an ordinary user note. Requires Notes permission. Only the note's author or an admin may delete it; system timeline entries cannot be deleted through this API.
Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.