GET/v1/public/churches
List churches that publish#
Lists the slugs of churches with published content, for site builders and sitemaps. Read a church's content with the other /v1/public/{church} routes.
Auth. None. This route is public.
- Auth
- No key
- Operation id
publicChurches
Responses
200 Success. List churches that publish.
{
"status": true,
"message": "churches",
"data": [
{
"object": "church",
"slug": "grace-chapel"
}
],
"meta": {
"request_id": "req_b337770ecebe03b03a88a8998b59263d",
"has_next": false,
"has_prev": false
}
}400 The request could not be read.
{
"status": false,
"message": "the page cursor is not valid",
"error": {
"code": "invalid_argument",
"status": 400,
"request_id": "req_b337770ecebe03b03a88a8998b59263d"
}
}422 A field failed validation, or an Idempotency-Key was reused with a different body.
{
"status": false,
"message": "A field is not valid.",
"error": {
"code": "validation",
"status": 422,
"request_id": "req_b337770ecebe03b03a88a8998b59263d"
}
}500 Something went wrong. Quote error.request_id.
{
"status": false,
"message": "Something went wrong. Quote the request id to support.",
"error": {
"code": "internal",
"status": 500,
"request_id": "req_b337770ecebe03b03a88a8998b59263d"
}
}Code samples
curl -X GET "$FOLIO_API_URL/v1/public/churches"