You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I hope everyone is safe and sound.
I am trying to integrate Opsgenie with WhatsApp, however, the WhatsApp API requests authentication and in the integration vi API of Opsgenie does not have the option to include Authentication.
Does anyone know how I can do this integration?
Are you trying to have Opsgenie alerts be sent to WhatsApp? Or do you want to be able to create an alert in Opsgenie via WhatsApp?
If the former, you could leverage our webhook integration which can send alerts outbound out of Opsgenie to a custom endpoint. The limitation with this is you don't have control over the format of the payload that Opsgenie sends outbound. The payloads are sent with the payload structure defined here.
The alternative would be to leverage Opsgenie Edge Connector (OEC) - which is a service you can install that can be used to trigger custom scripts from Opsgenie alerts. So you could write a script that posts to WhatsApp via API, and leverage OEC to execute that script when an alert is created in Opsgenie.
If you're trying to create alerts in Opsgenie via API, you would have to format the requests to meet our Alert API requirements, and include the Authentication in the headers using an API Key from an API integration in Opsgenie.
Hope this helps!
Webhook or OEC, yes. The payload that Opsgenie sends through the webhook integration isn't configurable. I'm not sure if WhatsApp requires the payload to have a specific format, if so the webhook by itself may not work since you can't customize the payload that Opsgenie sends.
In that case you'd want to use the webhook to some sort of proxy where you can modify the payload before sending to WhatsApp, or you could leverage OEC to do this since OEC can execute custom scripts.