Merran documentation API & integrations
Change, pause or resume a webhook
const url = 'http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034';const options = { method: 'PATCH', headers: { cookie: 'merran.session_token=<merran.session_token>', 'Content-Type': 'application/json' }, body: '{"paused":false,"resend":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034 \ --header 'Content-Type: application/json' \ --cookie merran.session_token=<merran.session_token> \ --data '{ "paused": false, "resend": true }'Household admins only. Only what’s sent changes. A new address is checked as when adding one. Resuming can resend what didn’t arrive in the last day.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
0199e8b0-5a10-7a01-8b00-000000000034Request Bodyrequired
Section titled “Request Bodyrequired”object
Where to send, http or https, with no user name or password in it: put those in a header. An address on the home network needs the server admin’s leave.
Replaces its extra headers, so each needs its value again; [] removes them.
object
true pauses it: nothing new is sent, and what’s waiting stops. false resumes it.
With paused: false, also send again what didn’t arrive in the last day.
Example
{ "paused": false, "resend": true}Responses
Section titled “Responses”Changed.
object
Where it sends. The rest of the address is kept sealed, since it’s often the receiver’s password.
The events it’s sent, unless it’s sent everything.
Whether it’s sent every event, including ones added later.
The names of its extra headers. Their values are kept sealed and never shown.
failing while a delivery is being tried again; paused when nothing is sent to it.
Why it’s paused: gave_up when a delivery ran out of tries, gone when its address answered 410 Gone, or by_hand.
When its deliveries began failing in a row.
Why its last delivery that failed did.
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"}The address, the events or a header can’t be used, with a message for each field.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not signed in.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not allowed.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}No such webhook in this household.
object
object
object
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.