Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.grainledger.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Grain API lets you build integrations and applications that interact with church accounting data. Use it to sync transactions, manage donors and contributions, track pledges, and automate workflows. Our API is currently available to select organizations. Please schedule some time with the team to discuss further.

Capabilities

  • Transactions – List, create, update, and delete bank transactions. Filter by date, amount, fund, vendor, and reconciliation status.
  • Bills – Manage vendor bills from creation through approval and payment.
  • Donors – CRUD operations for donor records with household relationships.
  • Contributions – Track giving with fund assignment, settlement status, and method.
  • Pledges – Pledge campaigns and individual pledge tracking with progress.
  • Households – Manage household groupings and primary contacts.

Base URL

https://api.grainledger.com
For local development, use your server URL (e.g. http://localhost:3000).

Authentication

All API requests require:
  1. OAuth 2.1 access token – Obtain via Sign in with Grain (authorization code flow with PKCE).
  2. X-Organization-Id header – The organization (church) whose data you are accessing.
See the Authentication guide for details.

Rate Limits

Rate limits apply per organization. Contact support for enterprise limits.

Support