Merran documentation API & integrations
Resend a delivery
const url = 'http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034/deliveries/0199e8b0-5a10-7a01-8b00-000000000035/resend';const options = { method: 'POST', headers: {cookie: 'merran.session_token=<merran.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034/deliveries/0199e8b0-5a10-7a01-8b00-000000000035/resend \ --cookie merran.session_token=<merran.session_token>Household admins only. Sends it again from its first try, on the usual schedule, with the same webhook-id. Not while it’s still being tried (delivery_waiting), or while its webhook is paused (webhook_paused).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
0199e8b0-5a10-7a01-8b00-000000000034Example
0199e8b0-5a10-7a01-8b00-000000000035Responses
Section titled “Responses”Waiting to be sent again.
object
object
The webhook-id header: the same on every try, so a receiver can drop repeats.
When it happened.
waiting to be tried, delivered, failed when it ran out of tries, or stopped when its webhook was paused.
What the last try was answered with; null when there was no answer.
The first 1,024 characters of the last answer.
How long the last try took.
Why the last try failed.
Exactly what’s sent, and signed.
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000035", "event": { "id": "msg_0199e8b0-5a10-7a01-8b00-000000000036", "type": "webhook.test", "createdAt": "2026-10-15T18:30:00.000Z" }, "state": "delivered", "tries": 1, "statusCode": 200, "answer": "", "durationMs": 84, "error": null, "lastTriedAt": "2026-10-15T18:30:00.000Z", "deliveredAt": "2026-10-15T18:30:00.000Z", "body": "{\"type\":\"webhook.test\",\"timestamp\":\"2026-10-15T18:30:00.000Z\",\"data\":{\"household\":{\"id\":\"0199e8b0-5a10-7a01-8b00-000000000003\",\"name\":\"The Riveras\"},\"by\":{\"id\":\"0199e8b0-5a10-7a01-8b00-000000000001\",\"name\":\"Sam Rivera\"},\"via\":\"app\",\"key\":null,\"webhook\":{\"id\":\"0199e8b0-5a10-7a01-8b00-000000000034\",\"name\":\"Home Assistant\"}}}"}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 or delivery in this household.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}It’s still being tried, or its webhook is paused.
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.