Merran documentation API & integrations
The day ahead
Sent once a day, at the time set as Daily summary at on the Webhooks page (07:00 unless it’s changed), on the household’s clock. It lists the day’s meals with their times and dishes, what’s waiting in the week’s pool, what to use soon, and how many things are on the shopping lists. It’s sent even on a day with nothing planned. When the server was off at that time, it’s sent when it’s back, the same day.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”This delivery’s id. It stays the same on every retry, so a receiver can use it to ignore one it has handled already.
Example
msg_2KWPBgLlAfxdpx2AI54pPJ85f4WThis delivery’s id. It stays the same on every retry, so a receiver can use it to ignore one it has handled already.
When this attempt was sent, in seconds since 1970. It changes on every retry. Receivers should refuse one that’s far from now.
Example
1731268800When this attempt was sent, in seconds since 1970. It changes on every retry. Receivers should refuse one that’s far from now.
v1, and a base64 HMAC-SHA256 signature of {webhook-id}.{webhook-timestamp}.{body}, made with the webhook’s secret. Several, separated by spaces, while a secret is being replaced.
Example
v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=v1, and a base64 HMAC-SHA256 signature of {webhook-id}.{webhook-timestamp}.{body}, made with the webhook’s secret. Several, separated by spaces, while a secret is being replaced.
Request Body
Section titled “Request Body”object
When it happened, which isn’t always when it’s sent: deliveries can arrive out of order. A gathered event happened when the last change in it was made.
object
object
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000003", "name": "The Riveras"}Who did it. Null when Merran did it on its own: a schedule, a timer going off, or work it does in the background, like importing a batch of links.
object
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000001", "name": "Sam Rivera"}How it was done: app by someone signed in, api with an API key or OAuth connection on the REST API, mcp by an AI app through /mcp, or merran by Merran on its own.
The API key or OAuth connection used, for api and mcp. Null otherwise.
object
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000009", "name": "Home Assistant"}The day it’s about, as YYYY-MM-DD: today, in the household.
Each meal planned for the day, in the day’s order, with its dishes. Dishes marked Didn’t are left out.
object
When it’s served, as HH:mm on the household’s clock: the time set for that meal on that day, or the household’s usual time for the meal.
object
The dish’s entry in the plan.
The recipe’s name, or the note for a dish that’s only a note.
The recipe. Null for a dish that’s only a note.
object
Its page in Merran. Null when the server has no public address (MERRAN_PUBLIC_URL).
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken"}The side dish, if it has one.
object
Its page in Merran. Null when the server has no public address (MERRAN_PUBLIC_URL).
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken"}How long it takes, in minutes: the recipe’s total time, or its prep and cook times added up, or its side’s when that’s longer. Null when neither says.
Example
{ "entryId": "0199e8b0-5a10-7a01-8b00-00000000001b", "title": "Lemon Chicken", "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "side": { "id": "0199e8b0-5a10-7a01-8b00-000000000007", "slug": "garlic-rice", "title": "Garlic Rice", "url": "https://merran.example.com/recipes/garlic-rice" }, "totalMinutes": 45}The meals waiting in this week’s pool for a day, not yet made or skipped.
object
The meal’s entry in the plan.
Its day, as YYYY-MM-DD. For a meal in the week’s pool, the first day of that week.
Whether it’s in the week’s pool, waiting for a day, rather than planned for one.
The recipe’s name, or the note for a meal that’s only a note.
The recipe. Null for a meal that’s only a note, or one whose recipe is in Recently deleted.
object
Its page in Merran. Null when the server has no public address (MERRAN_PUBLIC_URL).
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken"}The side dish, if it has one. Null while it’s in Recently deleted, as the plan leaves it out.
object
Its page in Merran. Null when the server has no public address (MERRAN_PUBLIC_URL).
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken"}What’s at home within 2 days of its use-by day, or past it, soonest first.
object
Where it’s kept, if that’s been said.
Its use-by day, as YYYY-MM-DD. It may have gone by already.
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000026", "name": "Spinach", "place": "fridge", "useBy": "2026-10-16"}The shopping lists.
object
How many things on the shopping lists aren’t checked off.
Example
{ "household": { "id": "0199e8b0-5a10-7a01-8b00-000000000003", "name": "The Riveras" }, "by": null, "via": "merran", "key": null, "date": "2026-10-15", "meals": [ { "meal": "dinner", "time": "18:00", "dishes": [ { "entryId": "0199e8b0-5a10-7a01-8b00-00000000001b", "title": "Lemon Chicken", "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "side": { "id": "0199e8b0-5a10-7a01-8b00-000000000007", "slug": "garlic-rice", "title": "Garlic Rice", "url": "https://merran.example.com/recipes/garlic-rice" }, "totalMinutes": 45 } ] } ], "pool": [ { "entryId": "0199e8b0-5a10-7a01-8b00-00000000001b", "date": "2026-10-11", "meal": "dinner", "pool": true, "title": "Lemon Chicken", "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "side": null } ], "useSoon": [ { "id": "0199e8b0-5a10-7a01-8b00-000000000026", "name": "Spinach", "place": "fridge", "useBy": "2026-10-16" } ], "list": { "items": 12 }}Example
{ "type": "day.summary", "timestamp": "2026-10-15T18:30:00.000Z", "data": { "household": { "id": "0199e8b0-5a10-7a01-8b00-000000000003", "name": "The Riveras" }, "by": null, "via": "merran", "key": null, "date": "2026-10-15", "meals": [ { "meal": "dinner", "time": "18:00", "dishes": [ { "entryId": "0199e8b0-5a10-7a01-8b00-00000000001b", "title": "Lemon Chicken", "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "side": { "id": "0199e8b0-5a10-7a01-8b00-000000000007", "slug": "garlic-rice", "title": "Garlic Rice", "url": "https://merran.example.com/recipes/garlic-rice" }, "totalMinutes": 45 } ] } ], "pool": [ { "entryId": "0199e8b0-5a10-7a01-8b00-00000000001b", "date": "2026-10-11", "meal": "dinner", "pool": true, "title": "Lemon Chicken", "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "side": null } ], "useSoon": [ { "id": "0199e8b0-5a10-7a01-8b00-000000000026", "name": "Spinach", "place": "fridge", "useBy": "2026-10-16" } ], "list": { "items": 12 } }}Responses
Section titled “Responses”Any 2xx answer counts as delivered. 410 Gone pauses the webhook.
© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.