Skip to main content
These endpoints support the signed-in church dashboard. They use the staff bearer token from dashboard sign-in and are separate from the public partner v1 API and its member tokens. Unless a section explicitly identifies a Super Admin route, requests are bound to the authenticated staff member’s church. A missing or invalid staff session returns 401; a staff account without the required permission returns 403. Church administrators have access to all church features. A permission to read choices does not grant permission to manage the underlying records.

Manual Gift Fund Choices

GET /api/giving/batches/options requires giving_manual_entry or the legacy donations permission. It returns only fund IDs and names available for manual gifts in the current church. Inactive, closed, and not-yet-available funds are excluded.

Giving Statement Member Choices

GET /api/giving/statements/member-options requires giving_statements or the legacy donations permission. It returns up to 100 current-church members, sorted by name, with only the id, name, and email fields used by statement preparation. An optional search string of up to 255 characters searches names and emails across the church before applying that 100-result limit.

Member Pagination and Administration

GET /api/members requires page >= 1 and accepts per_page between 1 and 100. Invalid or oversized pagination parameters return 422 instead of an unbounded directory response. The default page size remains 10. Member directory administration, household records, profile-change review, privacy requests, and data hygiene tools require members access. Those permissions do not grant access to another church’s records.

Duplicate Member Preview and Confirmation

These are internal staff routes requiring members permission. They are not part of the public partner v1 API and do not accept partner member tokens. Both member IDs must identify records in the authenticated staff member’s church. Preview requires current records and returns 404 for missing, archived, or another church’s records. Confirmation checks the token before looking up the pair: invalid or mismatched tokens return 409; a subsequent missing-record lookup can return 404, while archival since preview makes confirmation stale. GET /api/members/data-hygiene/duplicates returns possible duplicate groups. An email, phone, or other similarity is a review signal, not proof that the records represent one person. The staff operator chooses the survivor; the server never merges a group automatically. POST /api/members/data-hygiene/merge first creates a read-only preview:
The response’s data contains: The preview applies these field rules:
  • Blank gender, birth_date, wedding_anniversary, and joined_at can be filled from the duplicate.
  • location, city, state, country, and postal_code are one address unit. Values can be filled only when every survivor address field is blank. Otherwise a differing address is reported as one address conflict and none of its components is filled.
  • age_group is never copied. If the survivor’s age group is blank, the preview derives it from the effective birth date. An existing age group that conflicts with that birth date requires a survivor_age_review of the kept profile before another preview.
  • name, email, and phone are never replaced or filled. A differing, filled duplicate value is shown as a conflict even when the survivor’s value is blank. member_stage and source also stay with the survivor; differing source values are shown as conflicts.
  • A missing name on the kept profile requires survivor_profile_review. Correct that profile before previewing again; a merge does not silently assign a replacement name.
  • Additional filled, differing member fields outside the classified contract require a custom_profile_data review instead of being silently combined.
Conflict values and proposed fill values remain strings, including a grouped address conflict. Notes and tags are the supported record transfers. The surviving record keeps its account identity, access, directory choices, and communication preferences. The merge does not combine sign-in accounts, infer consent, or move unsupported history. Duplicate account, invitation, provider, or unsupported-history references require separate review. Transferred notes keep their existing body, author, time, and visibility; an eligible preview returns counts, not note contents. Transferring pastoral notes also requires pastoral_care permission. Church administrators can receive domain-specific history reasons; other staff receive generic linked_history reasons for financial, family, care, consent, and note-budget restrictions. The dashboard does not show transfer counts for blocked previews. A blocked or redacted count is not proof that no notes exist. The review is deliberately bounded and fails closed: Budget restrictions require a separate staff review; the preview does not assume the unreviewed history is safe: Snapshot budgets apply to the church’s domain, so they can block an otherwise unused duplicate. Custom profile data, restrictive directory settings or leader access, and contact-consent or opt-out state can also require separate review. No such state is silently discarded. The preview token expires after 15 minutes and is bound to the staff actor, church, ordered primary/duplicate pair, and material record snapshot. Treat it as opaque and use it only for that reviewed selection. Confirm the same selected pair with the token from its current preview and an explicit same-person acknowledgment:
Supported changes and duplicate archival are atomic. Successful data contains primary_id, archived_duplicate_id, transferred note/new-tag counts, and deduplicated_tags. Tag labels are compared without case or repeated whitespace; duplicate labels do not add another tag. A failed confirmation must not be treated as a completed merge, and there is no automatic merge-undo endpoint. The database’s tag uniqueness rules can also treat labels as equivalent. Unique source tags move with their timestamps intact. Colliding source tag rows stay attached to the archived duplicate with their original timestamps; deduplicated_tags counts those labels without adding another survivor tag. Active-member tag filters and counts exclude archived profiles. The same transaction records a staff governance audit containing the actor, record references, changed field names, and outcome counts. It does not log raw note bodies, member names, emails, or other copied profile values. Append-only governance audits remain attached to their original identity references, including archived profiles. They are not reassigned by a merge and do not by themselves prevent a later reviewed combination. An interrupted or missing network response is an unknown outcome: refresh the directory and duplicate group before offering another write. The transaction may have committed before the response was lost. 409 with code: merge_preview_stale requires a fresh preview and renewed review before confirmation. This includes invalid, expired, swapped, or other-actor tokens; changed reviewed profile, source-note, tag, or blocker state; and records archived since preview. A new blocker makes the previous preview stale and appears in the fresh preview; it is not returned as a separate blocked-confirmation response. Missing same-person acknowledgment, a missing token, or invalid request values return 422 validation errors. Do not retry a stale token, suppress the acknowledgment, or delete a record to bypass a blocker.

Settings Permissions

Personal two-factor settings remain available to the signed-in account. Church configuration requires settings. Payment-provider tools require settings, giving_provider_settings, or legacy donations access. Developer configuration requires platform_integrations_manage.

Giving Export Filters

GET /api/giving/export accepts an optional search string of up to 255 characters alongside its date, source, and status filters. It uses the same search rules as the giving list. Donor name and email matching require donor detail access; other staff can search permitted references, designations, and campaign information. Export permission is still required.

Campus Choices for People Workflows

GET /api/branches/options returns only current-church branch IDs and names for staff with branches, members, or community_groups_manage permission. This supports campus selection without access to branch contacts or management actions. Dashboard summaries, recent activity, global search, and attention counts use the staff account’s feature permissions. Sensitive care and form information also follows its record-level visibility rules. A staff account without product permissions receives empty product summaries and results rather than another route into restricted information.

Super Admin Acquisition Activity

GET /api/super-admin/client-onboarding/report requires the platform Super Admin bearer session, not an ordinary church administrator’s session. This platform-level report is separate from ordinary church staff access and the public partner v1 API. The request-list filters do not alter its scope. application includes public access requests; church_app_partnership includes public partnership applications. all_public includes both. Manual invitations, QA/test records and other request sources are excluded in every scope. The successful response has success: true and a data object: The metrics use different event dates: requests uses receipt, accounts_created uses accepted account creation, and activated uses the first recorded setup activation. They are activity counts, not an enquiry cohort or a conversion rate. A setup activation is not evidence of genuine first value or retention. Within the selected scope and date window, enquiries count once per saved request. Account and activation events count once per created church account for each metric. When multiple eligible requests reference that account, the lowest request ID supplies the event’s breakdown labels. The same deduplicated events drive all breakdowns. Independently scoped reports can choose different requests, so adding their account or activation totals is not equivalent to requesting all_public. Only stored labels with request attribution consent are returned. Without consent, or when labels are missing, source is unattributed; medium, campaign and content are unknown. Missing or unsupported free-tool labels, including legacy values outside the supported tools, use tool_slug: unattributed so their dated events remain in that breakdown. The literal labels unknown and unattributed can share these fallback buckets; use distinct campaign/content labels when preparing tracked links. Existing retention and consent-withdrawal removal apply; this report does not backfill old attribution. Campaign/content labels are not a session-to-qualified-church join, revenue, or causal attribution.