Title
#fleet
m

Michele

06/15/2022, 4:58 PM
Hi everyone, do you know if there's a way to modify the payload structure of the webhooks?
Mo Zhu

Mo Zhu

06/15/2022, 6:11 PM
Hi! I don’t believe there is currently a way to do that… But I’d love to understand what you’re hoping to do or what problem prompted you to ask about it?
6:15 PM
Maybe there’s some solution we can point you to
m

Michele

06/16/2022, 3:25 PM
Thanks for the answer, I actually suspected that. Well, just out of laziness I was trying to make the webhooks of fleet call directly another webhook (slack) without an intermediary service adapting the request to match slack's one (the payload having a "text" field with the message to forward in the chat). The host status webhook actually has a text field and that should already work
3:26 PM
Anyway, I'll just write a little service for doing that 😄
Mo Zhu

Mo Zhu

06/16/2022, 8:56 PM
Got it! Thank you!