Merran documentation API & integrations
Send a test
const url = 'http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034/test';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/test \ --cookie merran.session_token=<merran.session_token>Household admins only. Sends a webhook.test event to this webhook alone, now, even when it’s paused, and answers with what came of it. It’s tried once and logged like any delivery, but never retried, and it never pauses the webhook.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
0199e8b0-5a10-7a01-8b00-000000000034Responses
Section titled “Responses”Tried: delivered or failed, with the answer.
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 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.