FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    How to Retrieve and Replay Failed Webhook Events in FusionAuth

    Scheduled Pinned Locked Moved
    Frequently Asked Questions (FAQ)
    webhooks lambda webhook
    1
    2
    3
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wesley
      last edited by

      I’m writing a script to retrieve failed webhooks and replay them in FusionAuth. I’ve managed to get a list of failed events, but I can’t find an API endpoint that allows me to re-send those events. Is there a way to recreate or replay failed webhook events through FusionAuth?

      W 1 Reply Last reply Reply Quote 0
      • W
        wesley @wesley
        last edited by

        FusionAuth provides an API to search for webhook event logs, including failed events. For example, you can use this endpoint:

        /api/system/webhook-event-log/search?start=<timestamp>&end=<timestamp>&eventResult=Failed

        This will return all webhook events in the specified time frame that failed. More details are here:
        Search Webhook Event Logs

        In the API response, the event section contains the original payload that was sent. While FusionAuth doesn’t currently have a built-in replay feature, you can extract this event data and manually re-send it to the webhook URL using your own REST calls.

        A native replay feature is on the roadmap, but there’s no confirmed timeline for its release yet.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post