API reference
API: Children's check-in
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /v1/church/kids/attendance | Children who came, by room for each week (Sunday to Saturday), and how many were new | kids:read |
| POST | /v1/church/kids/background-checks | Record a background check's status and when it expires (never the report itself) | kids:write |
| DELETE | /v1/church/kids/background-checks/:id | Remove a background check recorded by mistake (the one before it counts again) | kids:write |
| GET | /v1/church/kids/board | A campus's rooms now: children checked in, adults serving and adults needed | kids:read |
| GET | /v1/church/kids/children/:id/pickups | Who may collect a child, and who must not | kids:read |
| POST | /v1/church/kids/children/:id/pickups | Add someone who may collect a child, or someone who must never | kids:write |
| DELETE | /v1/church/kids/children/:id/pickups/:pickup_id | Take someone off a child's pickup list, or lift a block | kids:write |
| GET | /v1/church/kids/coming | Families who said they're on the way to check-in | kids:read |
| DELETE | /v1/church/kids/coming/:id | Take a family off the list of those on the way | kids:write |
| GET | /v1/church/kids/families | Find a family to check in, by name or the last 4 digits of a phone (at most 20) | kids:read |
| POST | /v1/church/kids/families | Add a visiting family at the door: one adult and their children | kids:write |
| POST | /v1/church/kids/families/:id/children | Add children at the door to a family you have: a household, or an adult not in one yet | kids:write |
| GET | /v1/church/kids/kiosks | Tablets families check in on | kids:read |
| POST | /v1/church/kids/kiosks | Set up a tablet for families to check in on. Its link is shown once | kids:write |
| DELETE | /v1/church/kids/kiosks/:id | Turn a check-in tablet off. Its link stops working at once | kids:write |
| POST | /v1/church/kids/offline | Record what a check-in desk did while its internet was down. Sending the same thing twice records it once | kids:write |
| GET | /v1/church/kids/pack | What a check-in desk needs if its internet drops: families seen lately and who may collect each child. A signed-in person only | kids:read |
| GET | /v1/church/kids/release-attempts | Pickups that were refused, newest first (the last 90 days) | kids:read |
| POST | /v1/church/kids/rooms | Add a room: its ages, how many children fit and how many each adult looks after | kids:write |
| PATCH | /v1/church/kids/rooms/:id | Change a room, close it, or open it again | kids:write |
| POST | /v1/church/kids/serving | Put an adult in a room now, or move them from another. Refused without a clear background check when your church asks for one, and while the room they're in still needs them | kids:write |
| POST | /v1/church/kids/serving/:id/end | An adult leaves a room. Refused while the children in it still need them, unless a lead says why | kids:write |
| GET | /v1/church/kids/settings | The two-adult rule and whether volunteers need a background check | kids:read |
| PUT | /v1/church/kids/settings | Change the two-adult rule, the background check rule or the church's own text to a parent | kids:write |
| GET | /v1/church/kids/visits | Children checked in at a campus now, or everyone in the last 24 hours (at most 500) | kids:read |
| POST | /v1/church/kids/visits | Check one family's children in, each to a room. Refused when a room is full or short of adults. Returns a label for each child and one pickup tag, sharing a code shown once | kids:write |
| GET | /v1/church/kids/visits/:id | A child who is checked in: who may collect them, and their medical note. Opening the note is recorded | kids:read |
| POST | /v1/church/kids/visits/:id/check-out | Release a child to someone on their list who has the tag's code, or with a lead's approval and reason. Someone on the do-not-release list is always refused | kids:write |
| POST | /v1/church/kids/visits/:id/close | End a check-in that was a mistake, or that nobody closed on the day: a lead only. No one is recorded as collecting the child | kids:write |
| POST | /v1/church/kids/visits/:id/move | Move a child who is checked in to another room, under the same rules as check-in | kids:write |
| GET | /v1/church/kids/visits/:id/parents | Who to call or text about a child who is checked in. Opening it is recorded (web app only) | kids:read |
| POST | /v1/church/kids/visits/:id/reprint | New label and tag for a family's children who are checked in: a lead only, and the old code stops working | kids:write |
| POST | /v1/church/kids/visits/:id/text | Text a parent who agreed to texts to come to the room. It never says why (web app only) | kids:write |
| GET | /v1/church/kids/volunteers | Adults with a background check on record, and whether each is clear to serve. Search finds any adult to add | kids:read |
Examples
GET /v1/church/kids/attendance
Children who came, by room for each week (Sunday to Saturday), and how many were new
curl -s "https://api.chapelwren.com/v1/church/kids/attendance" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/attendance`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/background-checks
Record a background check's status and when it expires (never the report itself)
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/background-checks" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/background-checks`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();DELETE /v1/church/kids/background-checks/$ID
Remove a background check recorded by mistake (the one before it counts again)
curl -s -X DELETE "https://api.chapelwren.com/v1/church/kids/background-checks/$ID" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/background-checks/${id}`, {
method: "DELETE",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();GET /v1/church/kids/board
A campus's rooms now: children checked in, adults serving and adults needed
curl -s "https://api.chapelwren.com/v1/church/kids/board" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/board`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();GET /v1/church/kids/children/$ID/pickups
Who may collect a child, and who must not
curl -s "https://api.chapelwren.com/v1/church/kids/children/$ID/pickups" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/children/${id}/pickups`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/children/$ID/pickups
Add someone who may collect a child, or someone who must never
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/children/$ID/pickups" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/children/${id}/pickups`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();DELETE /v1/church/kids/children/$ID/pickups/$PICKUP_ID
Take someone off a child's pickup list, or lift a block
curl -s -X DELETE "https://api.chapelwren.com/v1/church/kids/children/$ID/pickups/$PICKUP_ID" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/children/${id}/pickups/${pickup_id}`, {
method: "DELETE",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();GET /v1/church/kids/coming
Families who said they're on the way to check-in
curl -s "https://api.chapelwren.com/v1/church/kids/coming" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/coming`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();DELETE /v1/church/kids/coming/$ID
Take a family off the list of those on the way
curl -s -X DELETE "https://api.chapelwren.com/v1/church/kids/coming/$ID" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/coming/${id}`, {
method: "DELETE",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();GET /v1/church/kids/families
Find a family to check in, by name or the last 4 digits of a phone (at most 20)
curl -s "https://api.chapelwren.com/v1/church/kids/families" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/families`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/families
Add a visiting family at the door: one adult and their children
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/families" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/families`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();POST /v1/church/kids/families/$ID/children
Add children at the door to a family you have: a household, or an adult not in one yet
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/families/$ID/children" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/families/${id}/children`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();GET /v1/church/kids/kiosks
Tablets families check in on
curl -s "https://api.chapelwren.com/v1/church/kids/kiosks" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/kiosks`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/kiosks
Set up a tablet for families to check in on. Its link is shown once
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/kiosks" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/kiosks`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();DELETE /v1/church/kids/kiosks/$ID
Turn a check-in tablet off. Its link stops working at once
curl -s -X DELETE "https://api.chapelwren.com/v1/church/kids/kiosks/$ID" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/kiosks/${id}`, {
method: "DELETE",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/offline
Record what a check-in desk did while its internet was down. Sending the same thing twice records it once
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/offline" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/offline`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();GET /v1/church/kids/pack
What a check-in desk needs if its internet drops: families seen lately and who may collect each child. A signed-in person only
curl -s "https://api.chapelwren.com/v1/church/kids/pack" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/pack`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();GET /v1/church/kids/release-attempts
Pickups that were refused, newest first (the last 90 days)
curl -s "https://api.chapelwren.com/v1/church/kids/release-attempts" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/release-attempts`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/rooms
Add a room: its ages, how many children fit and how many each adult looks after
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/rooms" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/rooms`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();PATCH /v1/church/kids/rooms/$ID
Change a room, close it, or open it again
curl -s -X PATCH "https://api.chapelwren.com/v1/church/kids/rooms/$ID" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/rooms/${id}`, {
method: "PATCH",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();POST /v1/church/kids/serving
Put an adult in a room now, or move them from another. Refused without a clear background check when your church asks for one, and while the room they're in still needs them
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/serving" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/serving`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();POST /v1/church/kids/serving/$ID/end
An adult leaves a room. Refused while the children in it still need them, unless a lead says why
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/serving/$ID/end" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/serving/${id}/end`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();GET /v1/church/kids/settings
The two-adult rule and whether volunteers need a background check
curl -s "https://api.chapelwren.com/v1/church/kids/settings" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/settings`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();PUT /v1/church/kids/settings
Change the two-adult rule, the background check rule or the church's own text to a parent
curl -s -X PUT "https://api.chapelwren.com/v1/church/kids/settings" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/settings`, {
method: "PUT",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();GET /v1/church/kids/visits
Children checked in at a campus now, or everyone in the last 24 hours (at most 500)
curl -s "https://api.chapelwren.com/v1/church/kids/visits" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/visits
Check one family's children in, each to a room. Refused when a room is full or short of adults. Returns a label for each child and one pickup tag, sharing a code shown once
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/visits" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();GET /v1/church/kids/visits/$ID
A child who is checked in: who may collect them, and their medical note. Opening the note is recorded
curl -s "https://api.chapelwren.com/v1/church/kids/visits/$ID" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits/${id}`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();POST /v1/church/kids/visits/$ID/check-out
Release a child to someone on their list who has the tag's code, or with a lead's approval and reason. Someone on the do-not-release list is always refused
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/visits/$ID/check-out" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits/${id}/check-out`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();POST /v1/church/kids/visits/$ID/close
End a check-in that was a mistake, or that nobody closed on the day: a lead only. No one is recorded as collecting the child
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/visits/$ID/close" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits/${id}/close`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();POST /v1/church/kids/visits/$ID/move
Move a child who is checked in to another room, under the same rules as check-in
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/visits/$ID/move" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits/${id}/move`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();POST /v1/church/kids/visits/$ID/reprint
New label and tag for a family's children who are checked in: a lead only, and the old code stops working
curl -s -X POST "https://api.chapelwren.com/v1/church/kids/visits/$ID/reprint" \
-H "Authorization: Bearer $CG_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.chapelwren.com/v1/church/kids/visits/${id}/reprint`, {
method: "POST",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();GET /v1/church/kids/volunteers
Adults with a background check on record, and whether each is clear to serve. Search finds any adult to add
curl -s "https://api.chapelwren.com/v1/church/kids/volunteers" \
-H "Authorization: Bearer $CG_API_KEY"const res = await fetch(`https://api.chapelwren.com/v1/church/kids/volunteers`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.CG_API_KEY}` },
});
const data = await res.json();Request and response schemas: https://www.chapelwren.com/openapi.json. All resources: API reference.