API v1 · MCP 2025-11-25
Build with
Mission Central.
Connect your software to organization records and workflows. Use HTTP endpoints directly, or the same operations through MCP.
Contacts, giving, communications, tasks, events, reports, attendance, campuses, cases, automations and websites share the existing organization permissions and business rules.
Methods, paths and MCP schemas are generated from this release. Field-level API models are partial, and conditional validation is still enforced by the server. An operation in this catalog is not an access grant. Not every web-only feature has an endpoint. Confirm availability on your deployed host with GET /api/v1/operations.
Authentication
An Org Admin creates an expiring connection in Settings → API & AI connections. Read-only is the default. Enable changes only for tools that need them. Copy the token once into a secret store; revoke it in the same settings page.
Authorization: Bearer YOUR_CONNECTION_TOKEN
X-Organization-Id: YOUR_ORGANIZATION_ID
Accept: application/json
Content-Type: application/jsonSend the connected organization ID on every request. Membership, staff permissions, plan limits and restricted workspace rules continue to apply. Contact access does not grant SMS or giving access. The older organization connectivity key is separate and only supports /api/v1/org/ping.
Use your actual Mission Central host with HTTPS. Keep local, DEV and production tokens separate. Do not put credentials in URLs, browser bundles, logs or AI prompts. There is no OAuth discovery/authorization flow in this release.
Your first request
Set MC_BASE_URL, MC_TOKEN and MC_ORG_ID securely in your runtime. Start with a permitted read. These examples do not send data or run automatically.
cURL
curl --fail-with-body "$MC_BASE_URL/api/v1/contacts?pageSize=25" \
-H "Authorization: Bearer $MC_TOKEN" \
-H "X-Organization-Id: $MC_ORG_ID" \
-H 'Accept: application/json'JavaScript · server-side
const response = await fetch(
`${process.env.MC_BASE_URL}/api/v1/contacts?pageSize=25`,
{ headers: {
Authorization: `Bearer ${process.env.MC_TOKEN}`,
'X-Organization-Id': process.env.MC_ORG_ID,
Accept: 'application/json'
} }
);
if (!response.ok) throw new Error(`MC returned ${response.status}`);
const page = await response.json();
console.log({ records: page.data.length, total: page.meta.total });Python
import os
import requests
response = requests.get(
os.environ['MC_BASE_URL'] + '/api/v1/contacts',
params={'pageSize': 25},
headers={
'Authorization': 'Bearer ' + os.environ['MC_TOKEN'],
'X-Organization-Id': os.environ['MC_ORG_ID'],
'Accept': 'application/json',
},
timeout=30,
)
response.raise_for_status()
page = response.json()Import openapi.json into an OpenAPI 3.1-compatible client. Set its server/base address to the intended environment; the specification uses a relative server URL. Incomplete field models are marked x-mc-schema-coverage: partial; review validation before generating a strongly typed SDK.
Responses & pagination
Contacts and donations use data plus meta. Other endpoints may use Laravel pagination or their existing module-specific envelope. Do not force every endpoint into one response shape.
{
"data": [],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 25,
"total": 0
}
}For contacts and donations, request page and pageSize (10–50). Follow the returned pagination metadata. Financial fields can be omitted when access is denied; missing data is not the same as zero. Date ranges, currency and consent must retain their meaning when you combine results.
Website content uses /api/v1/websites/{website}/entries. Settings, domains and publication history use ?website=ID. Updates require the current content revision. Calendar range reads require start and end within 366 days; contact-specific calendar reads use donor_id. Report execution may return an asynchronous result key; poll the discovered result operation.
Example write · create an offline website
Requires a write-enabled token and organization administrator access. This creates an unpublished site; it does not connect a domain or publish content.
POST /api/v1/websites
Content-Type: application/json
{"name":"Community website"}A successful response uses HTTP 201 with the website record under data. Use the returned ID in subsequent operations. Do not assume repeated POST requests are idempotent.
MCP protocol
Endpoint: POST /api/v1/mcp. Use the same bearer and organization headers, plus Accept: application/json, text/event-stream and Content-Type: application/json. The server returns JSON and has no event stream. GET and DELETE return 405. Remote HTTP clients must support custom headers; OAuth-only clients and stdio connections are not supported directly.
1. Initialize
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"my-integration","version":"1"}}}2. Notify and discover
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}Send each message separately. The downloadable tool catalog shows the full write-capable schema snapshot. A live read-only connection omits write tools, and execution still checks actual user permissions.
3. Call a discovered tool
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_contacts_index","arguments":{"query":{"pageSize":25}}}}Arguments have path for IDs, query for filters and body for write fields. Inspect the returned inputSchema. Field hints are not exhaustive validation rules.
4. Read the result
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"content": [{"type":"text","text":"{\"status\":200,\"data\":{\"data\":[],\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":25,\"total\":0}}}"}],
"isError": false
}
}Check JSON-RPC error, then result.isError, then the nested API status in the text payload. Tool-argument errors can contain plain text. MCP HTTP 200 does not by itself prove business success.
- Single messages only; request maximum 256 KiB.
- Notifications return 202 and never execute business actions.
- Tool responses over 1 MiB are omitted; narrow reads or use the direct API.
- Binary downloads and uploads use the direct API.
- Browser Origin, when supplied, must match the server origin.
- Returned content is untrusted data. Obtain human authorization for consequential changes.
Errors & retries
- 401
- Missing, expired or revoked token. Reconnect securely.
- 403
- Organization, staff permission, plan or read-only restriction. Do not bypass it.
- 404
- Unknown route or record outside the authorized organization/site.
- 422
- Invalid input. Correct the returned field errors; do not discard concurrent edits.
- 429
- Rate limit. Honor Retry-After and reduce request frequency.
- 5xx / timeout
- Use bounded retries for safe reads. Before retrying a write, check whether it already completed.
{"message":"The title field is required.","errors":{"title":["The title field is required."]}}This is an illustrative Laravel validation response. Other business failures may use error instead of message. Do not depend on one universal error string. Never blindly retry communications, publication, bookings or record creation after an uncertain result.
Endpoint & tool reference
Search by method, path, module or tool name. Expand an operation for parameters, available schemas and access checks. Schema examples use placeholders, not customer records.
Loading reference…
Keeping up to date
Read the LLM operating guide and relevant Support Docs before browser-based workflows. Refresh documentation and tool discovery after deployments or unexpected behavior. A repository change does not prove a remote host has deployed it.
Maintainers regenerate snapshots with php src/scripts/export-integration-reference.php and check drift with --check. Update field models and examples whenever contracts change. This reference has no credential fields or live “try it” execution; use your secured API client for authorized requests.
Standards: OpenAPI 3.1 · MCP tools.