Your first call
- A church administrator opens Church settings → Integrations → API tokens and creates a token: name, scopes and validity (30–365 days).
- The full token (wp_live_…) is shown only once. Keep it in your integration's secret store, not in website code or the browser.
- Send it in the Authorization: Bearer header. Start by inspecting the token — the response shows the church and the scopes that work.
curl -H "Authorization: Bearer $WORSHIPPRO_TOKEN" \
https://worshippro.net/api/v1/tokenThe API has no CORS: the token must never reach your visitors' browsers. Fetch the plan for your website server-side or use the iCal calendar.