Repository navigation
REST API
Proclaim includes a REST API built on Joomla's Web Services framework. It serves content in JSON:API format at /api/index.php/v1/proclaim/.
⚠️ Requires Proclaim 10.3.6 or later. On every earlier release the API returned 404 on every endpoint, on every site. Three separate faults had to be fixed before any route could resolve: the webservices plugin was never installed (#1309), the API classes never reached the location Joomla loads them from (#1310), and the setting that switched it on could not be set (#1328).If you tried the API on 10.3.0–10.3.5 and could not get a response, that was why — not your configuration.
The API is controlled by the Web Services - Proclaim plugin, in System > Plugins. There is no separate setting in Proclaim's own options.
| To do this | Do this |
|---|---|
| Turn the API on | Enable the plugin |
| Turn the API off | Disable the plugin. Every endpoint returns 404. |
Out of the box the plugin is enabled, so the API works immediately, and every request needs a token, reads included. There is no public mode. To publish messages for anyone to read, use Proclaim's RSS and podcast feeds, which do not use the API.
Changed in 10.7.9: earlier releases had an Allow public reads option that let
GETrequests skip the token. It has been removed, so a site that had it on now needs a token for every request.
Every response is limited to what the caller is entitled to see. Server credentials and commenter email addresses are withheld from every response regardless.
What you should see:
| Plugin | Caller | GET |
|---|---|---|
| Enabled | No token | 401 |
| Enabled | A token, but no Access Web Services, on Joomla 5.4.11, 6.2.1 or later | 403 |
| Enabled | A token, with every permission below | 200 |
| Disabled | Anyone | 404 |
Four steps, and all of them are required. Missing step 1 or 2 gives a 401,
and missing step 3 a 403, with no explanation of which:
1. Allow the user's group to hold a token
Go to System > Plugins > User - Joomla API Token and add the group to Allowed User Groups. This defaults to Super Users only.
2. Grant that group permission to log in to the API
Go to System > Global Configuration > Permissions, select the group, and set
API Access (core.login.api) to Allowed. This also defaults to Super
Users only, and it is a separate setting from step 1 — adding the group to
the plugin is not enough on its own.
3. Grant that group Access Web Services on Proclaim
From Joomla 5.4.11 and 6.2.1, go to Components > Proclaim > Options >
Permissions, select the group, and set Access Web Services (core.api) to
Allowed. Joomla checks this before Proclaim sees the request. A fresh install
grants it to Super Users only; a site upgraded to those versions gave it to
every group that could already manage Proclaim. Granting it in Global
Configuration instead opens the API of every component. Earlier Joomla
releases do not have this permission, so skip the step there.
4. Generate the token
Go to Users > Manage > [your user] > API Token tab and click Generate.
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://example.com/api/index.php/v1/proclaim/sermonsIf a valid token still returns 401, it is almost always step 2. Nothing in the interface indicates that API Access is the setting refusing the request. If it returns 403, it is step 3.
Some servers strip the
Authorizationheader before PHP sees it (common with Apache/CGI, including MAMP). Joomla also acceptsX-Joomla-Token:curl -H "X-Joomla-Token: YOUR_TOKEN" ...
Because these gates default to Super Users, the simplest setup gives an integration full administrative access. To scope one properly:
- Create a dedicated user in its own group
- Complete steps 1 to 3 above for that group
- In Proclaim > Options > Permissions, grant only what the integration needs — e.g. Create and Edit but not Delete
Without step 3 the token can do anything a Super User can.
Two protections apply regardless of token or permissions:
- View levels are enforced on reads. Every list is filtered to the access levels the caller is entitled to, exactly as on the site. A read never returns content the caller could not see on the site.
-
Sensitive columns are withheld. Server credentials (
params— API keys, client secrets, access tokens) and commenter email addresses are never rendered, even to a Super User token.
Twelve resources. GET requests return published and archived items only (unpublished and trashed are excluded), filtered to the caller's view levels.
Not every resource accepts writes. Four are read-only, and not merely unimplemented — each has a specific reason a write over HTTP would be unsafe:
| Resource | Writes | Why read-only |
|---|---|---|
sermons |
✅ | |
teachers |
✅ | |
series |
✅ | |
podcasts |
✅ | |
media |
✅ | |
topics |
✅ | |
locations |
✅ | |
messagetypes |
✅ | |
servers |
❌ | Holds media-server credentials; a write could overwrite or expose them |
templates |
❌ | Site markup — a write changes what every visitor sees |
comments |
❌ | Would bypass the front-end moderation gate |
playlists |
❌ |
sync/writeback settings trigger real changes on a linked YouTube account |
A write to a read-only resource returns 404 — the route does not exist.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/sermons |
List all sermons |
| GET | /api/index.php/v1/proclaim/sermons/{id} |
Get a single sermon |
| POST | /api/index.php/v1/proclaim/sermons |
Create a sermon |
| PATCH | /api/index.php/v1/proclaim/sermons/{id} |
Update a sermon |
| DELETE | /api/index.php/v1/proclaim/sermons/{id} |
Delete a sermon |
List fields: id, studytitle, alias, studydate, studyintro, series_id, access, published, hits
Detail fields: adds studytext, params
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/teachers |
List all teachers |
| GET | /api/index.php/v1/proclaim/teachers/{id} |
Get a single teacher |
| POST | /api/index.php/v1/proclaim/teachers |
Create a teacher |
| PATCH | /api/index.php/v1/proclaim/teachers/{id} |
Update a teacher |
| DELETE | /api/index.php/v1/proclaim/teachers/{id} |
Delete a teacher |
List fields: id, teachername, alias, title, image, short, access, published
Detail fields: adds information, website, email, phone
short is the teaser bio shown in listings; information is the full one. The
detail route was documented as returning description until 10.5.8, but
#__bsms_teachers has no such column, so that field never appeared in a
response.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/series |
List all series |
| GET | /api/index.php/v1/proclaim/series/{id} |
Get a single series |
| POST | /api/index.php/v1/proclaim/series |
Create a series |
| PATCH | /api/index.php/v1/proclaim/series/{id} |
Update a series |
| DELETE | /api/index.php/v1/proclaim/series/{id} |
Delete a series |
List fields: id, series_text, alias, description, series_thumbnail, teacher, access, published
Detail fields: the same set.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/podcasts |
List all podcasts |
| GET | /api/index.php/v1/proclaim/podcasts/{id} |
Get a single podcast |
| POST | /api/index.php/v1/proclaim/podcasts |
Create a podcast |
| PATCH | /api/index.php/v1/proclaim/podcasts/{id} |
Update a podcast |
| DELETE | /api/index.php/v1/proclaim/podcasts/{id} |
Delete a podcast |
List fields: id, title, description, podcastimage, language, access, published
Detail fields: the same set.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/media |
List all media files |
| GET | /api/index.php/v1/proclaim/media/{id} |
Get a single media file |
| POST | /api/index.php/v1/proclaim/media |
Create a media file |
| PATCH | /api/index.php/v1/proclaim/media/{id} |
Update a media file |
| DELETE | /api/index.php/v1/proclaim/media/{id} |
Delete a media file |
List fields: id, study_id, server_id, server_name, studytitle, createdate, plays, downloads, access, published
Detail fields: adds params, language
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/topics |
List all topics |
| GET | /api/index.php/v1/proclaim/topics/{id} |
Get a single topic |
| POST | /api/index.php/v1/proclaim/topics |
Create a topic |
| PATCH | /api/index.php/v1/proclaim/topics/{id} |
Update a topic |
| DELETE | /api/index.php/v1/proclaim/topics/{id} |
Delete a topic |
List fields: id, topic_text, published
Detail fields: adds access, language, params
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/locations |
List all locations |
| GET | /api/index.php/v1/proclaim/locations/{id} |
Get a single location |
| POST | /api/index.php/v1/proclaim/locations |
Create a location |
| PATCH | /api/index.php/v1/proclaim/locations/{id} |
Update a location |
| DELETE | /api/index.php/v1/proclaim/locations/{id} |
Delete a location |
List fields: id, location_text, published, access
Detail fields: adds address, suburb, state, country, postcode, telephone, webpage, image, language, ordering, landing_show
Results also honour multi-campus visibility, so a caller only sees locations they
are entitled to. email_to, user_id and contact_id cannot be set through the
API — email_to is the site's notification target.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/messagetypes |
List all study types |
| GET | /api/index.php/v1/proclaim/messagetypes/{id} |
Get a single study type |
| POST | /api/index.php/v1/proclaim/messagetypes |
Create a study type |
| PATCH | /api/index.php/v1/proclaim/messagetypes/{id} |
Update a study type |
| DELETE | /api/index.php/v1/proclaim/messagetypes/{id} |
Delete a study type |
List fields: id, message_type, alias, published, access, ordering
Detail fields: adds landing_show
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/playlists |
List all playlists |
| GET | /api/index.php/v1/proclaim/playlists/{id} |
Get a single playlist |
List fields: id, title, remote_playlist_id, server_id, series_id, sync_enabled, last_sync, published, access, ordering
Detail fields: adds alias, description, writeback_enabled, language
Sync configuration (params, default_settings) is withheld. Playlist settings
are changed in the admin interface, never as a side effect of an API call —
sync_enabled and writeback_enabled can push changes to a live YouTube account.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/comments |
List published comments |
| GET | /api/index.php/v1/proclaim/comments/{id} |
Get a single comment |
List fields: id, full_name, comment_date, comment_text, published, access, language
Detail fields: adds study_id
Published comments only — an unpublished one is being withheld by a moderator. Commenter email addresses and account IDs are never returned. There is no create endpoint: comments are submitted through the site so moderation applies.
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/servers |
List all media servers |
| GET | /api/index.php/v1/proclaim/servers/{id} |
Get a single server |
List fields: id, server_name, type, location_id, published
Detail fields: adds media, stats_synced_at, access
Credentials are never returned. The params column holds each addon's API
keys, client secrets and access tokens, and is withheld from both list and detail
responses.
Filters: ?filter[search]=, ?filter[type]=
| Method | URL | Description |
|---|---|---|
| GET | /api/index.php/v1/proclaim/templates |
List all display templates |
| GET | /api/index.php/v1/proclaim/templates/{id} |
Get a single template |
List fields: id, title, published
Detail fields: adds type, tmpl, location_id, access
The detail response includes the template markup, so only a caller with a token, and Access Web Services on Proclaim, can read it.
Filters: ?filter[search]=, ?filter[type]=
List endpoints support JSON:API offset-based pagination:
?page[limit]=20&page[offset]=0
| Parameter | Default | Description |
|---|---|---|
page[limit] |
20 | Items per page |
page[offset] |
0 | Starting offset |
The response includes pagination metadata and navigation links:
{
"links": {
"self": "...?page[offset]=20&page[limit]=20",
"next": "...?page[offset]=40&page[limit]=20",
"prev": "...?page[offset]=0&page[limit]=20",
"last": "...?page[offset]=80&page[limit]=20"
},
"meta": {
"total-pages": 5
}
}List endpoints support query parameter filtering via ?filter[field]=value. All filter values are sanitized server-side.
?filter[search]=keyword Search in title/alias
?filter[teacher]=5 Sermons by teacher ID
?filter[series]=3 Sermons in series ID
?filter[messagetype]=1 Filter by message type ID
?filter[location]=2 Filter by location ID
?filter[year]=2026 Filter by study year
?filter[language]=en-GB Filter by language
?filter[search]=keyword Search in name/alias
?filter[language]=en-GB Filter by language
?filter[search]=keyword Search in title/alias
?filter[location]=1 Filter by location ID
?filter[language]=en-GB Filter by language
?filter[search]=keyword Search in title/description
?filter[location]=1 Filter by location ID
?filter[language]=en-GB Filter by language
?filter[search]=keyword Search in study title
?filter[study_id]=42 Media files for a specific sermon
?filter[language]=en-GB Filter by language
?filter[search]=keyword Search in comment text
?filter[study_id]=42 Comments on a specific sermon
?filter[search]=keyword Search in title
?filter[server_id]=1 Playlists on a specific server
?filter[series_id]=3 Playlists linked to a series
?filter[search]=keyword Search in server name
?filter[type]=youtube Filter by server type
?filter[search]=keyword Search in topic text
?filter[language]=en-GB Filter by language
These four were accepted but silently ignored before 10.5.8 — the request succeeded and returned the whole unfiltered set. Fixed in #1753.
Filters can be combined with pagination:
curl -H "Authorization: Bearer TOKEN" \
"https://example.com/api/index.php/v1/proclaim/sermons?filter[series]=3&filter[year]=2026&page[limit]=10"Cross-Origin Resource Sharing is built into Joomla's API application. Enable it in System > Global Configuration > API > CORS. No Proclaim-specific configuration is needed.
All responses follow the JSON:API 1.0 specification with content type application/vnd.api+json.
{
"links": {
"self": "https://example.com/api/index.php/v1/proclaim/sermons"
},
"data": [
{
"type": "sermons",
"id": "42",
"attributes": {
"studytitle": "The Sermon on the Mount",
"alias": "the-sermon-on-the-mount",
"studydate": "2026-03-15",
"studyintro": "An introduction to...",
"series_id": 5,
"access": 1,
"published": 1,
"hits": 128
}
}
],
"meta": {
"total-pages": 3
}
}{
"links": {
"self": "https://example.com/api/index.php/v1/proclaim/sermons/42"
},
"data": {
"type": "sermons",
"id": "42",
"attributes": {
"studytitle": "The Sermon on the Mount",
"alias": "the-sermon-on-the-mount",
"studydate": "2026-03-15",
"studyintro": "An introduction to...",
"studytext": "<p>Full sermon content...</p>",
"series_id": 5,
"access": 1,
"published": 1,
"hits": 128,
"params": {}
}
}
}| Status | Meaning |
|---|---|
| 201 | Resource created (POST) |
| 204 | Resource deleted (DELETE) |
| 401 | Missing or invalid API token |
| 403 | Authenticated but not authorized (missing ACL permission) |
| 404 | Resource not found, or API is disabled |
Write operations send JSON in the request body. The Content-Type header must be application/json.
Joomla ACL controls who can write:
| Operation | Permission Required |
|---|---|
| POST (create) |
core.create on com_proclaim
|
| PATCH (update) |
core.edit on com_proclaim
|
| DELETE |
core.delete on com_proclaim
|
Two further rules apply to the data itself:
-
publishedrequirescore.edit.state. Without it, created and updated items are forced to unpublished, so an integration cannot publish content it is not trusted to publish. -
created_byrequirescore.admin. Otherwise it is ignored, so an integration cannot attribute content to another user.
These checks only bite when the token belongs to a non-Super-User. Because API access defaults to Super Users only, the default setup passes every check above. See Least-privilege integrations.
Creates, updates and deletes made through the API appear in Users > Action Logs, tagged with their origin:
User integration created topic Grace (via API)
User admin created topic Grace (via admin)
One entry per change, using the same log messages as the admin interface — so an audit shows API and interface changes side by side rather than in separate places. Deletions record the item's title, not just its ID.
curl -X POST \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{
"studytitle": "The Sermon on the Mount",
"studydate": "2026-04-01 10:00:00",
"published": 1,
"studyintro": "<p>Introduction text</p>",
"studytext": "<p>Full sermon content</p>",
"series_id": 5,
"messagetype": 1,
"location_id": 2,
"scriptures": [
{"reference_text": "John 3:16", "bible_version": "ESV"},
{"reference_text": "Romans 8:28", "bible_version": "NIV"}
],
"teachers": [
{"teacher_id": 3}
]
}' \
https://example.com/api/index.php/v1/proclaim/sermonsRequired fields: studytitle, studydate
Only send the fields you want to change:
curl -X PATCH \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"studytitle": "Updated Title", "published": 2}' \
https://example.com/api/index.php/v1/proclaim/sermons/42curl -X DELETE \
-H "Authorization: Bearer TOKEN" \
https://example.com/api/index.php/v1/proclaim/sermons/42Returns HTTP 204 (No Content) on success.
curl -X POST \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{
"teachername": "Pastor Smith",
"title": "Senior Pastor",
"short": "<p>Brief bio</p>",
"published": 1
}' \
https://example.com/api/index.php/v1/proclaim/teachersUse these fields to link related resources:
| Field | On | References |
|---|---|---|
series_id |
Sermons | /proclaim/series/{id} |
teacher |
Series | /proclaim/teachers/{id} |
study_id |
Media | /proclaim/sermons/{id} |
server_id |
Media | Server type (internal) |
curl -H "Authorization: Bearer TOKEN" \
"https://example.com/api/index.php/v1/proclaim/sermons?page[limit]=10"curl -H "Authorization: Bearer TOKEN" \
"https://example.com/api/index.php/v1/proclaim/teachers/3"# First get the sermon, note the ID
curl -H "Authorization: Bearer TOKEN" \
"https://example.com/api/index.php/v1/proclaim/sermons/42"
# Then fetch media files (filter by study_id in your application)
curl -H "Authorization: Bearer TOKEN" \
"https://example.com/api/index.php/v1/proclaim/media"Need help with your site? Proclaim Support — the place to start for anything to do with your own install · Ask on GitHub
Something wrong with Proclaim itself? Report it on GitHub — bugs and code issues are tracked there, in the open.
More — Proclaim documentation · Helpful videos · Latest release · Christian Web Ministries
Security issues privately to info@christianwebministries.org, not a public tracker. When asking for help, say which Proclaim and Joomla versions you are on.
- Publish Your First Message
- Show Proclaim on Your Site
- Add Audio and Video
- Organise Your Messages
- Set Up Podcasting
- Control How Proclaim Looks
- Import and Migrate
- Maintain Your Site
- Multi-Campus-Admin-Guide
- Multi-Campus-User-Guide
- Template-Customization-Guide
- Vimeo-API-Setup
- Print-Friendly-View
- Protected-Media-Storage
- Content-Security-Policy
- Troubleshooting-FAQ
- Setting-up-your-development-environment
- Standards and Conventions
- Contributing-Workflow
- REST API
- Database-Schema
- Location-API-Reference
- Backward-Compatibility-Breaks-10.1
- ARS Migration Plugin
- Proclaim-Code-Road-map
- Tasks
- Overview
- Admin Center
- Messages
- Media Files
- Servers
- Teachers
- Series
- Podcasts
- Topics
- Locations
- Comments
- Message Types
- Playlists
- Templates
- Utilities