Skip to content
merran
GitHubInstall

Merran documentation API & integrations

One webhook, with its address

GET
/api/households/current/webhooks/{webhookId}
curl --request GET \
--url http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034 \
--cookie merran.session_token=<merran.session_token>

Household admins only. The whole address, for editing it; the secret is shown on its own.

webhookId
required
string

Example

0199e8b0-5a10-7a01-8b00-000000000034

The webhook.

Media typeapplication/json
object
id
required
string
name
required
string
host
required

Where it sends. The rest of the address is kept sealed, since it’s often the receiver’s password.

string
events
required

The events it’s sent, unless it’s sent everything.

Array<string>
Allowed values: recipe.created recipe.updated recipe.deleted recipe.restored import.finished tidy.ready review.waiting cooking.started cooking.ended timer.started timer.extended timer.finished timer.cancelled plan.changed plan.autoplanned meal.cooked meal.skipped list.changed list.completed list.sent pantry.changed day.summary meal.time_to_start pantry.use_soon
everything
required

Whether it’s sent every event, including ones added later.

boolean
headers
required

The names of its extra headers. Their values are kept sealed and never shown.

Array<string>
state
required

failing while a delivery is being tried again; paused when nothing is sent to it.

string
Allowed values: working failing paused
pausedReason
required

Why it’s paused: gave_up when a delivery ran out of tries, gone when its address answered 410 Gone, or by_hand.

string | null
Allowed values: gave_up gone by_hand
pausedAt
required
string | null format: date-time
failingSince
required

When its deliveries began failing in a row.

string | null format: date-time
lastError
required

Why its last delivery that failed did.

string | null
lastDeliveredAt
required
string | null format: date-time
createdAt
required
string format: date-time
address
required

The whole address it sends to.

string

Example

{
"id": "0199e8b0-5a10-7a01-8b00-000000000034",
"name": "Home Assistant",
"host": "192.168.1.20:8123",
"events": [
"recipe.created"
],
"everything": false,
"headers": [],
"state": "working",
"pausedReason": null,
"pausedAt": null,
"failingSince": null,
"lastError": null,
"lastDeliveredAt": "2026-10-15T18:30:00.000Z",
"createdAt": "2026-10-01T17:30:00.000Z",
"address": "http://192.168.1.20:8123/api/webhook/merran-kitchen"
}

Not signed in.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

Not allowed.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

No such webhook in this household.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.