Church directory

API documentation

Use a church-approved integration token to read directory records and submit ministry or people changes for review.

Start an integration

  1. Get one token.A church administrator creates the integration, selects its scopes, and copies its token once.
  2. Validate the token.Call /api/v1/integration-test to confirm the integration identity and assigned scopes.
  3. Call a resource.Choose a ministry, people, or directory operation that matches an assigned scope.
curl -H "Authorization: Bearer $CHURCH_DIRECTORY_API_TOKEN" \
  https://ourchurchdirectory.com/api/v1/integration-test

A valid token identifies an integration. Each resource call still checks the required scope. Changes submitted by an integration remain subject to church review.

Test a connection

Check the service first. Then validate the token. Neither test reads or changes directory records.

Step 1

Check availability

Confirm that the service is responding before diagnosing a token or permission.

Step 2

Validate a token

Confirm the integration identity and scopes assigned by the church.

The page clears the token after sending this request. Do not paste a production token into another site, a chat, or a support message.

API operations

OpenAPI 3.1.0 · API version 1.3.0

Machine-readable specification

Connection

Check the service and confirm which integration and scopes a token represents.

MethodPathPurposeRequired scope
GET/api/v1/healthCheck API availabilityConfirms that the API can respond. It does not read church directory data.checkApiAvailabilityNo token
GET/api/v1/integration-testValidate an integration tokenValidates a bearer token and returns its integration identity and scopes without reading directory data.validateIntegrationTokenValid integration token

Directory

Search the church's approved directory listings.

MethodPathPurposeRequired scope
GET/api/v1/directoryList directory recordsReturns approved directory listings. Requires directory:read.listDirectoryRecordsdirectory:read

Ministries

Read approved ministries and submit ministry changes within the integration's scope.

MethodPathPurposeRequired scope
GET/api/v1/ministriesList approved ministriesReturns approved ministries. Requires ministries:read.listMinistriesministries:read
POST/api/v1/ministriesSubmit a ministrySubmits a ministry as a draft for church review. Requires ministries:write.createMinistryProposalministries:write
PATCH/api/v1/ministries/{id}Update a ministryUpdates a ministry without publishing it. Requires ministries:write.updateMinistryProposalministries:write
DELETE/api/v1/ministries/{id}Archive or reject a ministryArchives a ministry. Requires ministries:write.archiveMinistryministries:write

People

Read approved people and submit person changes within the integration's scope.

MethodPathPurposeRequired scope
GET/api/v1/peopleList peopleReturns approved people records. Requires people:read.listPeoplepeople:read
POST/api/v1/peopleSubmit a personSubmits a person as a draft for church review. Requires people:write.createPersonProposalpeople:write
PATCH/api/v1/people/{id}Update a personUpdates a person without publishing the record. Requires people:write.updatePersonProposalpeople:write
DELETE/api/v1/people/{id}Archive a personArchives a person. Requires people:write.archivePersonpeople:write

For AI agents and generated clients

Use the OpenAPI document as the contract. The following rules describe how to apply it safely.