Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Resend a delivery

POST
/api/households/current/webhooks/{webhookId}/deliveries/{deliveryId}/resend
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).

webhookId
required
string

Example

0199e8b0-5a10-7a01-8b00-000000000034
deliveryId
required
string

Example

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

Waiting to be sent again.

Media typeapplication/json
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
Allowed values: waiting delivered failed stopped
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

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.

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 or delivery 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."
}
}
}

It’s still being tried, or its webhook is paused.

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.