Replay webhook messages
Webhook Replay API enables replay of webhook events.
Service Description
This service allows replaying webhook messages by submitting a list of eventIds
. Event ID can be requested using Get list of webhook messages service, which will be made available soon.
New webhook messages are dispatched to the originally configured endpoints, regardless of the original delivery status. Messages with the status Retry Pending
can be replayed; doing so will cancel the scheduled retry and create a new webhook message with a new eventId
. Webhooks that were successfully delivered can also be replayed, provided they are no older than 5 days (120 hours).
Invalid or unknown eventIds
are skipped and reported in the response. A summary is returned indicating which events were successfully dispatched and which were not.
Request
POST
https://connect.lhv.com/notifications/replay
Example request
{
"eventIds": [
"f9b1c178-dca4-4e71-85c3-53922b77110e",
"3a23b238-8729-45df-a3d0-3f6b37b3e3aa",
"9b5b5b5c-8147-4f13-981d-bfd41bc91f44"
]
}
Response
Example response
{
"dispatched": [
{
"eventId": "f9b1c178-dca4-4e71-85c3-53922b77110e"
},
{
"eventId": "3a23b238-8729-45df-a3d0-3f6b37b3e3aa"
}
{
"eventId": "9b5b5b5c-8147-4f13-981d-bfd41bc91f44"
}
],
"failed": []
}
Last updated
Was this helpful?