Sermon Lane API and MCP
Everything Sermon Lane does for a church is available to your programs and AI assistants: services and listener counts, recordings and their progress, transcripts and translations, review, the glossary, settings, voices and publishing.
Keys
A church administrator creates a key in Sermon Lane → Settings → API keys: sermon:read (read only) or sermon:write (read and change). A key belongs to one church and works only for it. Send it as Authorization: Bearer ml_live_…, from a server: these endpoints don't answer browsers on other sites. Each key may make 120 requests a minute.
curl https://www.sermonlane.org/api/v1/services?status=live \ -H "Authorization: Bearer ml_live_…"
MCP
Point an MCP client (Claude, and others that speak Streamable HTTP) at https://www.sermonlane.org/mcp with the same bearer key. It lists the tools your key may use.
Uploading a recording
# 1. create it: you get a one-time upload URL
curl -X POST https://www.sermonlane.org/api/v1/recordings -H "Authorization: Bearer ml_live_…" -H "Content-Type: application/json" \
-d '{"title":"The Good Shepherd","languages":["es","ko"],"kind":"video","extension":"mp4","recorded_on":"2026-11-01"}'
# 2. PUT the file to data.upload.url
curl -X PUT --data-binary @sermon.mp4 -H "Content-Type: video/mp4" "<data.upload.url>"
# 3. tell Sermon Lane it's there
curl -X POST https://www.sermonlane.org/api/v1/recordings/<id>/uploaded -H "Authorization: Bearer ml_live_…" \
-H "Content-Type: application/json" -d '{"path":"<data.upload.path>","bytes":123456789}'
Translations are machine translations and voices are synthetic. The translated audio is only ever the preaching preacher's own voice, cloned with their consent: no API call or MCP tool can choose or set a voice (there are no default, per-language or stock voices, and PATCH /settings refuses tts_by_lang and xai_voice). A preacher without their own voice gets captions and text only. Voices are never returned as audio or ids: only their status and whether consent is recorded.
Machine-readable: OpenAPI 3.1 · MCP tool catalog
Webhooks
A church administrator sets one webhook address in Sermon Lane → Settings → Setups & platforms (https, a public host name, no port). When a language of a recording is published to the site, a podcast or YouTube, Sermon Lane sends a POST with a JSON body. A 2xx answer within 10 seconds counts as delivered; otherwise it retries up to 6 times, backing off (5, 10, 20, 40, 80 minutes). Redirects aren't followed.
POST /your/path
Content-Type: application/json
X-SermonLane-Event: translation.published
X-SermonLane-Delivery: 7c0e… (the event id; the same on every retry)
X-SermonLane-Signature: t=1793750400,v1=5f2b…
{"id":"7c0e…","event":"translation.published","created_at":"2026-11-03T15:00:00Z","church_id":"…","recording_id":"…",
"title":"The Good Shepherd","lang":"es","destination":"site","url":"https://www.sermonlane.org/s/…","published_at":"2026-11-03T15:00:00Z"}
Check the signature with the secret shown when the address was saved: compute HMAC-SHA256 of "<t>.<raw body>" with the secret, compare it to v1 in constant time, and reject events whose t is more than 5 minutes old. Send a test in the console sends an event with "test": true.
import { createHmac, timingSafeEqual } from "node:crypto";
const [t, v1] = req.headers["x-sermonlane-signature"].split(",").map((p) => p.split("=")[1]);
const want = createHmac("sha256", process.env.SERMON_LANE_WEBHOOK_SECRET).update(`${t}.${rawBody}`).digest("hex");
const ok = timingSafeEqual(Buffer.from(want), Buffer.from(v1)) && Math.abs(Date.now() / 1000 - Number(t)) < 300;
Endpoints and tools
Loading…