APIVersion 1

The Memento API

Show a parish’s Mass times and open dates anywhere, keep its other systems in step with the register, and book through it, under the same rules the parish office keeps.

Request
curl "https://memento.church/api/v1/masses?available=true&limit=5" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "ok": true,
  "data": {
    "masses": [
      {
        "date": "2026-11-22",
        "time": "09:00",
        "church": "St. Brigid Church",
        "celebrant": "Fr. Paul Rivera",
        "available": true,
        "booking_url": "https://app.memento.church/request/demo-parish?mass=rule%3A5b0c6f1e-3a1d-4c55-9e0f-0d6f2b6a7c11%402026-11-22"
      }
    ]
  }
}
Base URL
https://memento.church/api/v1
Format
JSON over HTTPS, money in cents
Cost
Included at every parish size
On This Page

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

  1. 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.

  2. Call the API

    Send the key as a bearer token with every call. Start by asking which Masses are open this week:

    Terminal
    curl "https://memento.church/api/v1/masses?available=true&limit=5" \
      -H "Authorization: Bearer $MEMENTO_KEY"
  3. Send people to book

    Every open Mass carries a booking_url that 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).

AccessWhat it can do
ReadEverything below under Masses and Memorials and The Register. Changes nothing.
Read and WriteEverything a Read key can, and book, cancel and record through the API.
Connected appOnly 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:

Success
{
  "ok": true,
  "data": { ... }
}

A refusal carries a code you can act on, a sentence you can show, and the request’s id:

Refusal
{
  "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

CodeStatusWhen
UNAUTHENTICATED401No key, a malformed key, or a key that was revoked.
FORBIDDEN403The key cannot do this: a Read key asked to write, or the parish has not finished setting up.
NOT_FOUND404Nothing with that id in this parish.
VALIDATION422A parameter or field is missing or wrong. The message names it; details lists each.
CONFLICT409The Mass or days are no longer free, or the same Idempotency-Key was sent with a different request.
CANONICAL422A rule the parish keeps refuses it: a person's limit, a Mass offered for the people, a collective Mass without consent.
RATE_LIMITED429Too many calls this minute. Retry-After says when to try again.
INTERNAL500Something 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.

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

GET/api/v1/keyAny key

The key you called with, what it may do, and its parish. A quick way to see a key works.

Request
curl "https://memento.church/api/v1/key" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/parishAny key

The 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.

Request
curl "https://memento.church/api/v1/parish" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/massesAny key

The 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".

ParameterTypeAbout
fromdateThe first day. Today in the parish when absent.
todateThe last day, at most 92 days after from. 30 days after from when absent.
availablebooleantrue keeps only the Masses open to book.
limitintegerAt most this many, 1 to 100.
Request
curl "https://memento.church/api/v1/masses?from=2026-11-15&to=2026-11-22&limit=5" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/private-listsAny key

Each 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.

Request
curl "https://memento.church/api/v1/private-lists" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/memorial-offersAny key

The 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.

Request
curl "https://memento.church/api/v1/memorial-offers" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/memorial-offers/{id}/periodsAny key

The 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.

ParameterTypeAbout
idRequiredstring, in the pathThe memorial offer’s id.
fromdateThe first day. Today in the parish when absent.
todateThe last day, at most 400 days after from. 92 days after from when absent.
Request
curl "https://memento.church/api/v1/memorial-offers/3f1a2b4c-5d6e-4f70-8a9b-0c1d2e3f4a5b/periods" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/intentionsRead key

The 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.

ParameterTypeAbout
statusstringOnly intentions in this state. One of requested, accepted, scheduled, celebrated, transferred, remitted, cancelled.
updated_sincedatetimeOnly those changed at or after this moment, ordered by when they changed.
mass_fromdateOnly those on a Mass on or after this day.
mass_todateOnly those on a Mass on or before this day.
limitintegerA page’s size, 1 to 100. 50 when absent.
cursorstringThe next_cursor of the page before.
Request
curl "https://memento.church/api/v1/intentions?updated_since=2026-11-14T00%3A00%3A00Z" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/intentions/{id}Read key

One intention, by its id.

ParameterTypeAbout
idRequiredstring, in the pathThe intention’s id.
Request
curl "https://memento.church/api/v1/intentions/c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "ok": true,
  "data": {
    "id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
    "number": 1042,
    "status": "scheduled",
    "for": "Margaret Ellis"
  }
}

Memorials Booked

GET/api/v1/memorialsRead key

Memorials booked, a page at a time: whom each is for, its days, and any gift received.

ParameterTypeAbout
fromdateOnly those still running on or after this day.
todateOnly those beginning on or before this day.
statusstringOnly memorials in this state. One of scheduled, fulfilled, cancelled.
updated_sincedatetimeOnly those changed at or after this moment, ordered by when they changed.
limitintegerA page’s size, 1 to 100. 50 when absent.
cursorstringThe next_cursor of the page before.
Request
curl "https://memento.church/api/v1/memorials" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/memorials/{id}Read key

One memorial, by its id.

ParameterTypeAbout
idRequiredstring, in the pathThe memorial’s id.
Request
curl "https://memento.church/api/v1/memorials/c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "ok": true,
  "data": {
    "id": "7b8c9d0e-1f2a-4b3c-9d4e-5f6a7b8c9d0e",
    "name": "Sanctuary Lamp",
    "start": "2026-11-22",
    "end": "2026-11-28"
  }
}

Offerings

GET/api/v1/offeringsRead key

Offerings for Masses and gifts for memorials, a page at a time, with the day each was received and how it was given.

ParameterTypeAbout
fromdateOnly those received on or after this day.
todateOnly those received on or before this day.
statusstringOnly offerings in this state. One of pending, received, refunded, voided.
limitintegerA page’s size, 1 to 100. 50 when absent.
cursorstringThe next_cursor of the page before.
Request
curl "https://memento.church/api/v1/offerings" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

GET/api/v1/clergyRead key

The parish’s priests and bishops, as the office lists them.

Request
curl "https://memento.church/api/v1/clergy" \
  -H "Authorization: Bearer $MEMENTO_KEY"
Answer
{
  "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

POST/api/v1/intentionsRead and Write key

Books 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.

ParameterTypeAbout
mass_idstring, in the bodyThe Mass, as Masses gives its id. Or priest_id.
priest_idstring, in the bodyA priest who keeps a list of private Masses. Or mass_id.
forRequiredstring, in the bodyWhom the Mass is offered for, as it will be printed.
purposeRequiredstring, in the bodyWhy it is offered. One of deceased, living, thanksgiving, special.
requested_byRequiredobject, in the bodyWho 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.
languagestring, in the bodyThe person's language for letters, a code such as en or es. The parish's own when absent.
notestring, in the bodyA note for the office, never shown to the person.
notifyboolean, in the bodyfalse sends no confirmation. Sent when absent and the person has an email.
Request
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"}'
Answer
{
  "ok": true,
  "data": {
    "id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
    "number": 1043,
    "status": "scheduled",
    "kind": "public",
    "for": "Margaret Ellis",
    "source": "api"
  }
}

Cancel an Intention

POST/api/v1/intentions/{id}/cancelRead and Write key

Cancels an intention whose Mass has not been said, with the reason, which the parish's history keeps. An offering already given stays recorded.

ParameterTypeAbout
idRequiredstring, in the pathThe intention's id.
reasonRequiredstring, in the bodyWhy it is cancelled.
Request
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."}'
Answer
{
  "ok": true,
  "data": {
    "id": "c2b7e9a0-4d1f-4e6a-9b3c-7f8e9d0a1b2c",
    "status": "cancelled"
  }
}

Book a Memorial

POST/api/v1/memorialsRead and Write key

Books 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.

ParameterTypeAbout
offer_idRequiredstring, in the bodyThe memorial, from Memorials Offered.
startRequireddate, in the bodyThe first day of its day, week, month, quarter or year (a week begins on Sunday).
forRequiredstring, in the bodyWhom it is dedicated for.
dedicationRequiredstring, in the bodyHow it is dedicated. One of memory, living, thanksgiving.
requested_byRequiredobject, in the bodyWho 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.
languagestring, in the bodyThe person's language for letters.
notifyboolean, in the bodyfalse sends no confirmation.
Request
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"}'
Answer
{
  "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

POST/api/v1/memorials/{id}/cancelRead and Write key

Cancels a memorial, with the reason, and frees its days.

ParameterTypeAbout
idRequiredstring, in the pathThe memorial's id.
reasonRequiredstring, in the bodyWhy it is cancelled.
Request
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."}'
Answer
{
  "ok": true,
  "data": {
    "id": "7b8c9d0e-1f2a-4b3c-9d4e-5f6a7b8c9d0e",
    "status": "cancelled"
  }
}

Record an Offering

POST/api/v1/offeringsRead and Write key

Records 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.

ParameterTypeAbout
intention_idstring, in the bodyThe intention it was given for. Or memorial_id.
memorial_idstring, in the bodyThe memorial it was given for. Or intention_id.
amount_centsRequiredinteger, in the bodyThe amount in whole cents: 1000 is $10.00.
methodRequiredstring, in the bodyHow it was given. One of cash, check.
check_numberstring, in the bodyThe check's number.
received_ondate, in the bodyThe day it was received, never after today. Today when absent.
Request
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"}'
Answer
{
  "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.

EventWhen
intention.createdAn intention was booked: online, by the office, through the API or imported.
intention.updatedAn intention changed: whom it is for, its card, its priest's list, its offering's record.
intention.movedAn intention moved to another Mass.
intention.celebratedA priest marked a private Mass said. A public Mass is said at its hour, without an event; its said_on then fills.
intention.cancelledAn intention was cancelled.
memorial.createdA memorial was booked.
memorial.updatedA memorial changed: its days, whom it is for.
memorial.cancelledA memorial was cancelled.
offering.recordedAn offering or a memorial gift was recorded.
offering.updatedAn offering changed: corrected, returned or removed.
pingA 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:

Event
{
  "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:

Node.js
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.

  1. Send the owner to Memento

    Make a random code_verifier (43 to 128 characters) and keep it. Send the owner’s browser to:

    Address
    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=S256
  2. The 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_uri with code and your state, or with error=access_denied.

  3. Trade the code for the key

    From your server, within ten minutes. The code works once:

    Terminal
    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>
    Answer
    {
      "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.

Book a Call