API access is currently available to select organizations. Request API access to discuss your integration with the Grain team.
What you can build
Accounting sync
Sync bank transactions and vendor bills into your workflows.
Giving data
Read contributions, pledges, and donor records for reporting or ChMS bridges.
Households
Manage household groupings and primary contacts.
OAuth apps
Authenticate users with Sign in with Grain (OAuth 2.1 + PKCE).
Base URL
http://localhost:3000).
Prerequisites
Every request needs:- An OAuth 2.1 access token from Sign in with Grain
- The
X-Organization-Idheader for the church whose data you are accessing
Rate limits
| Scope | Limit |
|---|---|
| Standard | 100 requests per minute per organization |
| Burst | Short bursts above the limit may return 429 Too Many Requests |
Next steps
Quickstart
Make your first authenticated API call in under 10 minutes.
Authentication
Set up OAuth 2.1 with PKCE and token refresh.
API reference
Browse endpoints grouped by resource.
Support
Get help from the Grain team.