Overview
The Lectern API lets your own server work with a church’s teaching: add a message, wait for it to be prepared, read the transcript, the approved notes and the Scripture it quotes, and ask questions that are answered only from what the church has taught.
It is a JSON API over HTTPS. You call it from a server you control, with an API key a church administrator creates. Webhooks tell you when work finishes, so you do not need to poll.
Submit a teaching and read its transcript, notes and an answer, in about five minutes.
API referenceEvery route, parameter, response and error, with a request builder for curl, JavaScript, Python and Go.
WebhooksSigned events with verified examples in Node, Python, Go, PHP and Ruby.
What you can build#
Sermon notes in a church app#
After Sunday service, your app submits the recording or a link to it. When your team approves the notes in Lectern, a note.approved webhook arrives and your app fetches the notes and shows them next to the video. Members see reviewed notes, never a draft.
Scripture for a bulletin or CMS#
Read the Scripture references found in an approved note, each with the point the preacher made and the moment it was spoken. Use them to generate a “Scriptures this week” block for the bulletin, link verses in your CMS, or build a reading plan from what was actually taught.
Ask with citations on a website#
Put a question box on your church site. Your server sends the question to Lectern, streams the answer back to the page, and shows the citations that link each claim to the teaching and the minute it was said. If Lectern replies with a support message, you show it as written.
Clips and timestamps for a video tool#
Read the transcript as timed segments or as WebVTT and SubRip captions. Use the timestamps to attach captions to your video, cut clips at the moment a verse is read, or let viewers search and jump to a phrase.
How it fits together#
| Step | What happens | How you know |
|---|---|---|
Add | You submit a YouTube link, or upload a recording or a transcript file. | The teaching is created with status queued. |
Prepare | Lectern gets or makes the transcript and indexes it. | Status done, or the teaching.ready webhook. |
Review | Lectern drafts notes. A person on the church team reviews and approves them. | The note.approved webhook. |
Use | Read notes, Scripture citations and transcripts. Ask questions. Search. | Your own app. |
Keys that only read never see a draft. A note appears in the API after a person on the church’s team approves it, so what you show members has been reviewed.
What you need#
- A Lectern account for the church, and a church administrator to create an API key. See Authentication.
- Your church’s slug and your Lectern API address, for the base URL. See Requests and responses.
- A server to call from. Keys never belong in a web page or a mobile app.
The API is described by an OpenAPI 3.1 document at /v1/api/openapi.json (also as YAML at /v1/api/openapi.yaml) that you can import into Postman, Insomnia or a code generator.
A first response#
Every successful response uses the same envelope. This is GET /usage, which any valid key can call:
{
"status": true,
"message": "ok",
"data": {
"id": "apk_01m4h7y3ywefgb8nt54y776hza",
"name": "Docs verification",
"prefix": "lk_live_01m4h7_...",
"scopes": [
"teachings:read",
"teachings:ingest",
"notes:read",
"notes:generate",
"ask:use",
"scripture:read",
"webhooks:manage"
],
"status": "active",
"created_at": "2026-10-09T21:08:34Z",
"last_used_at": "2026-10-09T21:19:56Z",
"rpm_limit": 600,
"daily_cap_micros": null,
"monthly_cap_micros": null,
"monthly_teaching_limit": null,
"ip_allowlist": [],
"usage": {
"requests_30d": 53,
"errors_30d": 21,
"spend_today_micros": 1465,
"spend_month_micros": 1465,
"teachings_month": 3,
"daily": [
{
"day": "2026-10-07",
"requests": 0,
"errors": 0,
"spend_micros": 0
},
{
"day": "2026-10-08",
"requests": 0,
"errors": 0,
"spend_micros": 0
},
{
"day": "2026-10-09",
"requests": 53,
"errors": 21,
"spend_micros": 0
}
]
}
},
"meta": {
"request_id": "req_01m4h8nry7eq2bfwf822ry0vwm"
}
}data is the thing you asked for. meta.request_id identifies the request: quote it if you ever contact support.