Overview
Memento keeps a parish’s register of Mass intentions: its Masses, who each is offered for, the offerings, and its memorials such as the sanctuary lamp. The API lets the parish’s own software, or a developer it trusts, work with that register.
Show It Anywhere
Mass times, which Masses are open to book, private Masses and memorials, for a website, an app or a greeter.
Keep Systems in Step
Read the register as it changes, or be told within a minute with webhooks, for a parish management or accounting system.
Book Through It
Book an intention or a memorial from the parish’s own forms, under every rule the office keeps.
- Format
- JSON over HTTPS. Money in whole cents. Days as YYYY-MM-DD in the parish’s own calendar.
- Who can use it
- Every parish on Memento, at every size, at no extra cost. The parish’s owner makes the keys.
Quick Start
Make a key
The parish’s owner opens Settings, under Developers, presses Create Key, names it for the system that will use it, and chooses Read or Read and Write. The key is shown once: copy it then.
Call the API
Send the key as a bearer token with every call. Start by asking which Masses are open this week:
curl "https://memento.church/api/v1/masses?available=true&limit=5" \ -H "Authorization: Bearer $MEMENTO_KEY"Send people to book
Every open Mass carries a
booking_urlthat opens the parish’s booking page with that Mass chosen. Link to it, and the parish’s page does the rest: signing in, the offering, the confirmation.
Keys and Access
A key belongs to one parish and reads only that parish. A call never names its parish: the key decides it. Keys start mem_live_ (or mem_test_ on a test copy of Memento).
| Access | What it can do |
|---|---|
| Read | Everything below under Masses and Memorials and The Register. Changes nothing. |
| Read and Write | Everything a Read key can, and book, cancel and record through the API. |
| Connected app | Only Masses and Memorials: what the booking page shows anybody. What an app receives through Connect. |
Contact details. Names are always included. A parishioner’s email address, telephone number and postal address are included only when the owner ticked Include contact details on the key.
Keep a key secret. Call the API from a server, never from a web page or an app on a phone, where anyone can read the key. If a key is exposed, the owner revokes it in Settings and it stops working at once.
Requests and Answers
Every answer is JSON in one envelope. A success carries data; a list adds next_cursor:
{
"ok": true,
"data": { ... }
}A refusal carries a code you can act on, a sentence you can show, and the request’s id:
{
"ok": false,
"error": {
"code": "FORBIDDEN",
"message": "This key can read but not write.",
"request_id": "6f1d0b9e-2a4c-4f7e-9b1a-3c5d7e9f0a2b"
}
}Every answer also carries the request’s id in the Memento-Request-Id header. Times are ISO 8601 in UTC (starts_at, created_at); a Mass’s date and time are the parish’s own, in its time zone, which The Parish gives.
Errors
| Code | Status | When |
|---|---|---|
UNAUTHENTICATED | 401 | No key, a malformed key, or a key that was revoked. |
FORBIDDEN | 403 | The key cannot do this: a Read key asked to write, or the parish has not finished setting up. |
NOT_FOUND | 404 | Nothing with that id in this parish. |
VALIDATION | 422 | A parameter or field is missing or wrong. The message names it; details lists each. |
CONFLICT | 409 | The Mass or days are no longer free, or the same Idempotency-Key was sent with a different request. |
CANONICAL | 422 | A rule the parish keeps refuses it: a person's limit, a Mass offered for the people, a collective Mass without consent. |
RATE_LIMITED | 429 | Too many calls this minute. Retry-After says when to try again. |
INTERNAL | 500 | Something failed on Memento's side. Try again, and quote the request_id if it keeps happening. |
Rate Limits
Each key may make 120 calls a minute. Every answer says where you stand in three headers: RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds until the count starts again). Past the limit, the answer is 429 with Retry-After.
Pages
A list answers a page at a time, 50 by default and up to 100 with limit. When there is more, next_cursor is a string: send it back as cursor for the next page. On the last page it is null. A cursor marks where a page ended, so rows added meanwhile never shift a page you have already read.
Keeping another system in step: remember when you last asked, and ask /intentions?updated_since= that moment. You get everything changed since, in the order it changed. Or let Memento tell you, with webhooks.
Booking Links
Booking on the parish’s own page keeps every promise the parish makes to the person booking: they sign in, choose their language, give by card if they wish, and receive the parish’s confirmation. So every open Mass, private list and memorial period carries a booking_url that opens the page with it chosen:
| Address | Opens on |
|---|---|
?mass=<id> | That Mass, chosen, while it is still open. |
?kind=private&priest=<id> | A Mass offered privately, with that priest chosen while his list has room. |
?kind=memorial&memorial=<id>&start=<day> | That memorial, on that day or week. |
Open it in a new tab. Something taken meanwhile is simply not chosen, and the page offers what is open.
Masses and Memorials
What the parish’s booking page shows anybody. Any key can read these, including a key an app received through Connect. Nobody’s name is in any of it.
Check Your Key
/api/v1/keyAny keyThe key you called with, what it may do, and its parish. A quick way to see a key works.
curl "https://memento.church/api/v1/key" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"name": "Parish Management System",
"prefix": "mem_live_Xk3q",
"access": "read",
"contact_details": false,
"app": null,
"parish": {
"name": "Demo Parish",
"slug": "demo-parish"
},
"created_at": "2026-11-14T15:02:11.000Z"
}
}The Parish
/api/v1/parishAny keyThe parish the key belongs to: its booking page, the days it takes bookings for, its languages, whom to contact, and how many Masses one person may book.
curl "https://memento.church/api/v1/parish" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"name": "Demo Parish",
"slug": "demo-parish",
"time_zone": "America/Chicago",
"booking_url": "https://app.memento.church/request/demo-parish",
"online_booking": true,
"bookable_from": "2026-11-15",
"bookable_through": "2027-02-28",
"languages": [
"en",
"es"
],
"suggested_offering_cents": 1000,
"minimum_offering_cents": 0,
"contact": {
"name": "Mary Ellis",
"email": "office@demoparish.org",
"phone": "(615) 555-0142"
},
"limits": {
"public": {
"limit": 3,
"per": "month"
},
"weekend": {
"limit": 1,
"per": "month"
},
"private": {
"limit": 2,
"per": "year"
}
}
}
}Masses
/api/v1/massesAny keyThe parish’s Masses between two days, open or not. A Mass is available when it can be booked on the booking page now; its booking_url opens the booking page with that Mass chosen. With available=true and a limit, it answers "the next open Masses".
| Parameter | Type | About |
|---|---|---|
from | date | The first day. Today in the parish when absent. |
to | date | The last day, at most 92 days after from. 30 days after from when absent. |
available | boolean | true keeps only the Masses open to book. |
limit | integer | At most this many, 1 to 100. |
curl "https://memento.church/api/v1/masses?from=2026-11-15&to=2026-11-22&limit=5" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"from": "2026-11-15",
"to": "2026-11-22",
"online_booking": true,
"masses": [
{
"id": "rule:5b0c6f1e-3a1d-4c55-9e0f-0d6f2b6a7c11@2026-11-22",
"date": "2026-11-22",
"time": "09:00",
"starts_at": "2026-11-22T15:00:00.000Z",
"church": "St. Brigid Church",
"label": null,
"language": "en",
"status": "scheduled",
"for_the_people": false,
"celebrant": "Fr. Paul Rivera",
"available": true,
"collective": null,
"booking_url": "https://app.memento.church/request/demo-parish?mass=rule%3A5b0c6f1e-3a1d-4c55-9e0f-0d6f2b6a7c11%402026-11-22"
}
]
}
}Private Masses
/api/v1/private-listsAny keyEach priest who keeps a list of Masses he offers privately, with no date or time published, how many places it has and how many are left. Never who is on a list.
curl "https://memento.church/api/v1/private-lists" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"online_booking": true,
"private_lists": [
{
"priest_id": "9d2e4f70-1c1b-4c2a-8f3e-6a5b4c3d2e1f",
"priest": "Fr. John Smith",
"places": 13,
"places_left": 9,
"has_room": true,
"booking_url": "https://app.memento.church/request/demo-parish?kind=private&priest=9d2e4f70-1c1b-4c2a-8f3e-6a5b4c3d2e1f"
}
]
}
}Memorials Offered
/api/v1/memorial-offersAny keyThe memorials the parish offers on its booking page, such as the sanctuary lamp or altar flowers: how long each lasts, how many may run at once, and the gift it suggests. A memorial is a gift to the parish, never a Mass.
curl "https://memento.church/api/v1/memorial-offers" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"memorial_offers": [
{
"id": "3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b",
"kind": "sanctuary_lamp",
"name": "Sanctuary Lamp",
"description": "The lamp beside the tabernacle burns for a week in someone’s name.",
"lasts": "week",
"at_once": 1,
"suggested_gift_cents": 1000,
"gift_required": false,
"limit_per_person": {
"limit": 2,
"per": "year"
},
"booking_url": "https://app.memento.church/request/demo-parish?kind=memorial&memorial=3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b"
}
]
}
}Memorial Days and Weeks
/api/v1/memorial-offers/{id}/periodsAny keyThe days, weeks, months, quarters or years one memorial may begin on between two days, each open or not. A period closed by Lent or Advent says so.
| Parameter | Type | About |
|---|---|---|
idRequired | string, in the path | The memorial offer’s id. |
from | date | The first day. Today in the parish when absent. |
to | date | The last day, at most 400 days after from. 92 days after from when absent. |
curl "https://memento.church/api/v1/memorial-offers/3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b/periods" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"id": "3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b",
"kind": "sanctuary_lamp",
"name": "Sanctuary Lamp",
"lasts": "week",
"periods": [
{
"start": "2026-11-22",
"end": "2026-11-28",
"open": true,
"closed_for": null,
"booking_url": "https://app.memento.church/request/demo-parish?kind=memorial&memorial=3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b&start=2026-11-22"
}
]
}
}The Register
The office’s own records. A Read key, or a Read and Write key, can read these.
Intentions
/api/v1/intentionsRead keyThe register, oldest first, a page at a time. To keep another system in step, ask with updated_since: it lists what changed since then, ordered by when it changed. said_on is the day an intention’s Mass was said: a public Mass is said at its hour, so its said_on fills then while its status stays scheduled; celebrated is a private Mass a priest marked said.
| Parameter | Type | About |
|---|---|---|
status | string | Only intentions in this state. One of requested, accepted, scheduled, celebrated, transferred, remitted, cancelled. |
updated_since | datetime | Only those changed at or after this moment, ordered by when they changed. |
mass_from | date | Only those on a Mass on or after this day. |
mass_to | date | Only those on a Mass on or before this day. |
limit | integer | A page’s size, 1 to 100. 50 when absent. |
cursor | string | The next_cursor of the page before. |
curl "https://memento.church/api/v1/intentions?updated_since=2026-11-14T00%3A00%3A00Z" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": [
{
"id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
"number": 1042,
"status": "scheduled",
"kind": "public",
"collective": false,
"for": "Margaret Ellis",
"purpose": "deceased",
"language": "en",
"mass": {
"id": "a6f0c1d2-7e8f-4a9b-8c0d-1e2f3a4b5c6d",
"date": "2026-11-22",
"time": "09:00",
"church": "St. Brigid Church",
"label": null,
"celebrant": "Fr. Paul Rivera"
},
"private_priest": null,
"requested_by": {
"id": "e1d2c3b4-a596-4877-8695-a4b3c2d1e0f9",
"name": "Thomas Ellis"
},
"source": "online",
"received_on": "2026-11-14",
"accepted_on": "2026-11-14",
"celebrated_on": null,
"said_on": null,
"mass_card": {
"requested": true,
"delivery": "pickup"
},
"offering": {
"received_cents": 1000,
"count": 1
},
"created_at": "2026-11-14T16:20:05.000Z",
"updated_at": "2026-11-14T16:20:05.000Z"
}
],
"next_cursor": null
}One Intention
/api/v1/intentions/{id}Read keyOne intention, by its id.
| Parameter | Type | About |
|---|---|---|
idRequired | string, in the path | The intention’s id. |
curl "https://memento.church/api/v1/intentions/c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
"number": 1042,
"status": "scheduled",
"for": "Margaret Ellis"
}
}Memorials Booked
/api/v1/memorialsRead keyMemorials booked, a page at a time: whom each is for, its days, and any gift received.
| Parameter | Type | About |
|---|---|---|
from | date | Only those still running on or after this day. |
to | date | Only those beginning on or before this day. |
status | string | Only memorials in this state. One of scheduled, fulfilled, cancelled. |
updated_since | datetime | Only those changed at or after this moment, ordered by when they changed. |
limit | integer | A page’s size, 1 to 100. 50 when absent. |
cursor | string | The next_cursor of the page before. |
curl "https://memento.church/api/v1/memorials" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": [
{
"id": "7b8c9d0e-1f2a-4b3c-9d4e-5f6a7b8c9d0e",
"offer_id": "3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b",
"kind": "sanctuary_lamp",
"name": "Sanctuary Lamp",
"for": "John and Rose Ellis",
"dedication": "memory",
"start": "2026-11-22",
"end": "2026-11-28",
"status": "scheduled",
"source": "online",
"requested_by": {
"id": "e1d2c3b4-a596-4877-8695-a4b3c2d1e0f9",
"name": "Thomas Ellis"
},
"gift": {
"received_cents": 1000
},
"created_at": "2026-11-14T16:31:40.000Z",
"updated_at": "2026-11-14T16:31:40.000Z"
}
],
"next_cursor": null
}One Memorial
/api/v1/memorials/{id}Read keyOne memorial, by its id.
| Parameter | Type | About |
|---|---|---|
idRequired | string, in the path | The memorial’s id. |
curl "https://memento.church/api/v1/memorials/c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"id": "7b8c9d0e-1f2a-4b3c-9d4e-5f6a7b8c9d0e",
"name": "Sanctuary Lamp",
"start": "2026-11-22",
"end": "2026-11-28"
}
}Offerings
/api/v1/offeringsRead keyOfferings for Masses and gifts for memorials, a page at a time, with the day each was received and how it was given.
| Parameter | Type | About |
|---|---|---|
from | date | Only those received on or after this day. |
to | date | Only those received on or before this day. |
status | string | Only offerings in this state. One of pending, received, refunded, voided. |
limit | integer | A page’s size, 1 to 100. 50 when absent. |
cursor | string | The next_cursor of the page before. |
curl "https://memento.church/api/v1/offerings" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": [
{
"id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"amount_cents": 1000,
"method": "card",
"method_label": null,
"status": "received",
"received_on": "2026-11-14",
"check_number": null,
"intention_id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
"memorial_id": null,
"requested_by": {
"id": "e1d2c3b4-a596-4877-8695-a4b3c2d1e0f9",
"name": "Thomas Ellis"
},
"created_at": "2026-11-14T16:20:07.000Z"
}
],
"next_cursor": null
}Clergy
/api/v1/clergyRead keyThe parish’s priests and bishops, as the office lists them.
curl "https://memento.church/api/v1/clergy" \
-H "Authorization: Bearer $MEMENTO_KEY"{
"ok": true,
"data": {
"clergy": [
{
"id": "5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
"name": "Fr. Paul Rivera",
"kind": "priest",
"office": "Pastor",
"active": true,
"keeps_private_list": false
}
]
}
}Booking
Booking and recording with a Read and Write key, under the rules the office keeps. Send an Idempotency-Key header (any unique string, such as a UUID) with each POST: sent again, the same request is answered with its first answer and books nothing twice.
Book an Intention
/api/v1/intentionsRead and Write keyBooks an intention on an open Mass (mass_id, from Masses) or on a priest's list of private Masses (priest_id, from Private Masses), under the parish's rules: a Mass must still be available, and a person past one of the parish's limits is refused. A collective Mass is booked on the booking page or with the office. The person is sent the parish's confirmation unless notify is false. Answers 201 with the intention.
| Parameter | Type | About |
|---|---|---|
mass_id | string, in the body | The Mass, as Masses gives its id. Or priest_id. |
priest_id | string, in the body | A priest who keeps a list of private Masses. Or mass_id. |
forRequired | string, in the body | Whom the Mass is offered for, as it will be printed. |
purposeRequired | string, in the body | Why it is offered. One of deceased, living, thanksgiving, special. |
requested_byRequired | object, in the body | Who asked: { id } of a person this API gave you, or { email, name, phone }. A person with that email is found; otherwise they are added, and then name is needed. An email or an id is always needed, so the parish knows who it is and keeps its limits. |
language | string, in the body | The person's language for letters, a code such as en or es. The parish's own when absent. |
note | string, in the body | A note for the office, never shown to the person. |
notify | boolean, in the body | false sends no confirmation. Sent when absent and the person has an email. |
curl -X POST "https://memento.church/api/v1/intentions" \
-H "Authorization: Bearer $MEMENTO_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"mass_id":"rule:5b0c6f1e-3a1d-4c55-9e0f-0d6f2b6a7c11@2026-11-22","for":"Margaret Ellis","purpose":"deceased"}'{
"ok": true,
"data": {
"id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
"number": 1043,
"status": "scheduled",
"kind": "public",
"for": "Margaret Ellis",
"source": "api"
}
}Cancel an Intention
/api/v1/intentions/{id}/cancelRead and Write keyCancels an intention whose Mass has not been said, with the reason, which the parish's history keeps. An offering already given stays recorded.
| Parameter | Type | About |
|---|---|---|
idRequired | string, in the path | The intention's id. |
reasonRequired | string, in the body | Why it is cancelled. |
curl -X POST "https://memento.church/api/v1/intentions/c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c/cancel" \
-H "Authorization: Bearer $MEMENTO_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason":"The parishioner asked to choose another date."}'{
"ok": true,
"data": {
"id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
"status": "cancelled"
}
}Book a Memorial
/api/v1/memorialsRead and Write keyBooks a memorial on days that are open (Memorial Days and Weeks gives them), for a person found or added as above. A person past the memorial's own limit is refused. Answers 201 with the memorial.
| Parameter | Type | About |
|---|---|---|
offer_idRequired | string, in the body | The memorial, from Memorials Offered. |
startRequired | date, in the body | The first day of its day, week, month, quarter or year (a week begins on Sunday). |
forRequired | string, in the body | Whom it is dedicated for. |
dedicationRequired | string, in the body | How it is dedicated. One of memory, living, thanksgiving. |
requested_byRequired | object, in the body | Who asked: { id } of a person this API gave you, or { email, name, phone }. A person with that email is found; otherwise they are added, and then name is needed. An email or an id is always needed, so the parish knows who it is and keeps its limits. |
language | string, in the body | The person's language for letters. |
notify | boolean, in the body | false sends no confirmation. |
curl -X POST "https://memento.church/api/v1/memorials" \
-H "Authorization: Bearer $MEMENTO_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"offer_id":"3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b","start":"2026-11-22","for":"John and Rose Ellis","dedication":"memory"}'{
"ok": true,
"data": {
"id": "7b8c9d0e-1f2a-4b3c-9d4e-5f6a7b8c9d0e",
"name": "Sanctuary Lamp",
"start": "2026-11-22",
"end": "2026-11-28",
"status": "scheduled",
"source": "api"
}
}Cancel a Memorial
/api/v1/memorials/{id}/cancelRead and Write keyCancels a memorial, with the reason, and frees its days.
| Parameter | Type | About |
|---|---|---|
idRequired | string, in the path | The memorial's id. |
reasonRequired | string, in the body | Why it is cancelled. |
curl -X POST "https://memento.church/api/v1/memorials/c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c/cancel" \
-H "Authorization: Bearer $MEMENTO_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason":"Booked by mistake."}'{
"ok": true,
"data": {
"id": "7b8c9d0e-1f2a-4b3c-9d4e-5f6a7b8c9d0e",
"status": "cancelled"
}
}Record an Offering
/api/v1/offeringsRead and Write keyRecords an offering given by cash or check, for an intention or a memorial that has none yet. Card gifts are made on the booking page, through the parish's own Stripe account, never through the API. Answers 201 with the offering.
| Parameter | Type | About |
|---|---|---|
intention_id | string, in the body | The intention it was given for. Or memorial_id. |
memorial_id | string, in the body | The memorial it was given for. Or intention_id. |
amount_centsRequired | integer, in the body | The amount in whole cents: 1000 is $10.00. |
methodRequired | string, in the body | How it was given. One of cash, check. |
check_number | string, in the body | The check's number. |
received_on | date, in the body | The day it was received, never after today. Today when absent. |
curl -X POST "https://memento.church/api/v1/offerings" \
-H "Authorization: Bearer $MEMENTO_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"intention_id":"c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c","amount_cents":1000,"method":"check"}'{
"ok": true,
"data": {
"id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"amount_cents": 1000,
"method": "check",
"status": "received"
}
}Webhooks
Instead of asking again and again, let Memento tell your server within a minute of something changing. The parish’s owner presses Add Webhook in Settings, under Developers, gives your endpoint URL, and chooses which events to send.
| Event | When |
|---|---|
intention.created | An intention was booked: online, by the office, through the API or imported. |
intention.updated | An intention changed: whom it is for, its card, its priest's list, its offering's record. |
intention.moved | An intention moved to another Mass. |
intention.celebrated | A priest marked a private Mass said. A public Mass is said at its hour, without an event; its said_on then fills. |
intention.cancelled | An intention was cancelled. |
memorial.created | A memorial was booked. |
memorial.updated | A memorial changed: its days, whom it is for. |
memorial.cancelled | A memorial was cancelled. |
offering.recorded | An offering or a memorial gift was recorded. |
offering.updated | An offering changed: corrected, returned or removed. |
ping | A test, sent when the owner presses Send Test Event. |
What arrives
A POST to your endpoint with a JSON body. data is the object as the API would give it, read at the moment it is sent:
{
"id": "evt_6e0f2c4a9b1d4e8f",
"type": "intention.created",
"created_at": "2026-11-14T16:20:05.000Z",
"parish": { "slug": "demo-parish" },
"data": { "id": "c2b7e9a0-…", "number": 1042, "status": "scheduled", "for": "Margaret Ellis", "…": "…" }
}Checking it came from Memento
Each delivery carries Memento-Signature: t=<seconds>,v1=<hex>. The signature is an HMAC-SHA256, with the endpoint’s signing secret, of the seconds, a full stop, and the raw body. Compare it in constant time, and refuse a delivery more than five minutes old:
import crypto from "node:crypto";
function fromMemento(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false;
const made = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
return made.length === parts.v1?.length &&
crypto.timingSafeEqual(Buffer.from(made), Buffer.from(parts.v1));
}Answering
Answer with any 2xx within 10 seconds. Anything else is tried again, after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours, then given up. An event can arrive more than once: use its id to do its work once. Events can arrive out of order: where the object has an updated_at, keep the latest.
Recent Deliveries, in the webhook’s menu in Settings, lists the last 25 messages. Open one to see exactly what was sent, and press Resend to send it again now, with the record as it stands. Edit changes the endpoint URL, the events and contact details, and keeps the signing secret.
Connect an App
An app made for many parishes, such as Greetyr, the greeter on a parish’s website, does not ask each parish to paste a key. It asks the parish’s owner to approve it on Memento’s own page, and receives a key that reads only Masses and Memorials. This is OAuth 2.0’s authorization code flow with PKCE (RFC 6749 and RFC 7636); there is no client secret.
Send the owner to Memento
Make a random
code_verifier(43 to 128 characters) and keep it. Send the owner’s browser to:https://memento.church/connect ?response_type=code &client_id=greetyr &redirect_uri=https%3A%2F%2Fgreetyr.com%2Fapi%2Fauth%2Fmemento%2Fcallback &state=<random, checked on return> &code_challenge=<base64url(sha256(code_verifier))> &code_challenge_method=S256The owner approves
Memento asks them to sign in if they are not, shows exactly what the app will be able to read, and sends them back to your
redirect_uriwithcodeand yourstate, or witherror=access_denied.Trade the code for the key
From your server, within ten minutes. The code works once:
curl -X POST "https://memento.church/api/v1/connect/token" \ -d grant_type=authorization_code \ -d client_id=greetyr \ -d code=<the code> \ -d redirect_uri=https://greetyr.com/api/auth/memento/callback \ -d code_verifier=<the verifier>{ "access_token": "mem_live_…", "token_type": "Bearer", "scope": "public", "parish": { "name": "Demo Parish", "slug": "demo-parish" } }Keep the key encrypted. The owner can disconnect the app in Settings at any time, and the key then answers 401: treat that as disconnected. Connecting again replaces the old key.
Building an app for parishes? Write to support@memento.church to have it listed.
Changes
The API is version 1, in its address. Fields may be added to an answer at any time; nothing is removed or renamed within version 1. Ignore fields you do not know.
- November 15, 2026. Version 1: keys, Masses and memorials, the register, booking, webhooks and Connect.
Questions? Write to support@memento.church. Parish staff can also open Settings, under Developers.