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

    Custom webhook body?

    Scheduled Pinned Locked Moved
    Q&A
    0
    2
    392
    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.
    • S
      stuart.auld
      last edited by

      Any way to customise the body of a webhook? I'd like to pump some events in to Slack but Slack doesn't allow you to do any transform on their end, all inbound webhooks must meet their spec.

      1 Reply Last reply Reply Quote 1
      • danD
        dan
        last edited by

        @stuart-auld welcome to the FusionAuth community!

        There is no within FusionAuth to modify a webhook body.

        This may be a feature of interest to the community; I'd encourage you to file a feature request with more details, but we could possibly run a lambda run every time a webhook runs to transform the webhook output. (There's probably scope for adding lambdas in lots of places; here's another one.)

        Until that happens, however, you can send the webhook to a process running on a server or using something like google cloud functions or AWS lambda to transform the webhook output.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

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