Merran documentation API & integrations
Cooking ended
Sent when a cooking session ends: with Done cooking in cook view (made), even with timers running; when cook view is left (stopped), at once with no timer running, or when its last running timer is done or cancelled; a minute after cook view’s page is closed, unless it comes back (stopped); or when cook view goes quiet for 30 minutes with no timer running, or 12 hours after it started (timed_out). Done cooking, leaving with nothing running, and cancelling the last timer are sent as the cook; the rest are Merran’s own, with cook saying who was cooking.
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"}Who’s cooking. It stays set when Merran ends the session or a timer goes off, when by is null. Null if they’ve since left Merran.
object
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000001", "name": "Sam Rivera"}The cooking session: one person cooking a recipe on one device, from leaving Get ready in cook view until cooking ends.
object
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 recipe cooked with it, when cook view cooks two as a pairing. Null otherwise.
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 it ended: made with Done cooking in cook view; stopped when cook view was left, once its timers were done; or timed_out when cook view went quiet for 30 minutes with no timer running, or 12 hours after it started.
How long cooking went on, in whole minutes.
Example
{ "household": { "id": "0199e8b0-5a10-7a01-8b00-000000000003", "name": "The Riveras" }, "by": null, "via": "merran", "key": null, "cook": { "id": "0199e8b0-5a10-7a01-8b00-000000000001", "name": "Sam Rivera" }, "session": { "id": "0199e8b0-5a10-7a01-8b00-000000000037" }, "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "with": { "id": "0199e8b0-5a10-7a01-8b00-000000000007", "slug": "garlic-rice", "title": "Garlic Rice", "url": "https://merran.example.com/recipes/garlic-rice" }, "outcome": "timed_out", "minutes": 74}Example
{ "type": "cooking.ended", "timestamp": "2026-10-15T18:30:00.000Z", "data": { "household": { "id": "0199e8b0-5a10-7a01-8b00-000000000003", "name": "The Riveras" }, "by": null, "via": "merran", "key": null, "cook": { "id": "0199e8b0-5a10-7a01-8b00-000000000001", "name": "Sam Rivera" }, "session": { "id": "0199e8b0-5a10-7a01-8b00-000000000037" }, "recipe": { "id": "0199e8b0-5a10-7a01-8b00-000000000006", "slug": "lemon-chicken", "title": "Lemon Chicken", "url": "https://merran.example.com/recipes/lemon-chicken" }, "with": { "id": "0199e8b0-5a10-7a01-8b00-000000000007", "slug": "garlic-rice", "title": "Garlic Rice", "url": "https://merran.example.com/recipes/garlic-rice" }, "outcome": "timed_out", "minutes": 74 }}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.