Merran documentation API & integrations
A webhook's deliveries log
GET
/api/households/current/webhooks/{webhookId}/deliveries
const url = 'http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034/deliveries?limit=20&offset=0';const options = { method: 'GET', 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 GET \ --url 'http://localhost:3000/api/households/current/webhooks/0199e8b0-5a10-7a01-8b00-000000000034/deliveries?limit=20&offset=0' \ --cookie merran.session_token=<merran.session_token>Household admins only. What was sent in the last 30 days, newest first: the event, how many tries, the last answer and the exact body sent.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”webhookId
required
string
Example
0199e8b0-5a10-7a01-8b00-000000000034Query Parameters
Section titled “Query Parameters”limit
integer
offset
integer | null
Responses
Section titled “Responses”A page of deliveries.
Media typeapplication/json
object
deliveries
required
Array<object>
object
id
required
string
event
required
object
id
required
The webhook-id header: the same on every try, so a receiver can drop repeats.
string
type
required
string
createdAt
required
When it happened.
string format: date-time
state
required
waiting to be tried, delivered, failed when it ran out of tries, or stopped when its webhook was paused.
string
tries
required
number
statusCode
required
What the last try was answered with; null when there was no answer.
number | null
answer
required
The first 1,024 characters of the last answer.
string | null
durationMs
required
How long the last try took.
number | null
error
required
Why the last try failed.
string | null
lastTriedAt
required
string | null format: date-time
deliveredAt
required
string | null format: date-time
body
required
Exactly what’s sent, and signed.
string
total
required
How many it has in all.
number
Example
{ "deliveries": [ { "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\"}}}" } ], "total": 1}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.