API Tokens
Personal API tokens let you (or your scripts and integrations) authenticate to the ChurchCRM API without using your password. Each token acts as a long-lived credential scoped to your user account.
Generating a Token
- Log in and click your avatar (top-right corner) → My Settings, or navigate directly to Admin → Users → [your name] → Edit
- Open the API Access tab
- Click Generate New Token
- Copy the token immediately — it is shown only once. Store it somewhere safe (e.g., a password manager)
Anyone with your token can authenticate to the API as you. Do not commit tokens to source control or paste them in chat messages.
Using a Token
Pass the token in the Authorization header on every API request:
GET /api/people HTTP/1.1
Host: your-church.example.com
Authorization: Bearer YOUR_TOKEN_HERE
Or with curl:
curl -H "Authorization: Bearer YOUR_TOKEN_HERE" \
https://your-church.example.com/api/people
Token Scopes
Tokens inherit the permissions of the user account that created them. A token created by an Admin account has Admin-level access; a token from a view-only account has view-only access.
There is currently no way to create a token with reduced permissions relative to your account.
Revoking a Token
- Go to My Settings → API Access
- Find the token in the list
- Click Revoke — the token is invalidated immediately
Revoked tokens cannot be restored. Generate a new token if you need access again.
Rotating Tokens
As a security best practice, rotate tokens periodically:
- Generate a new token
- Update any scripts or integrations to use the new token
- Revoke the old token
API Reference
- Public API — Endpoints accessible to all authenticated users
- Private API — Admin-only endpoints (requires Admin role)