Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Integration Opsgenie with WhatsApp

Hey guys,

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?

Best Regards

Ricardo D'Oliveira

1 answer

1 accepted

0 votes
Answer accepted
Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 16, 2022

Hi @Ricardo Cardoso D_ Oliveira ,

 

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!

 

Thanks,

Samir

Hi Samir, thanks for your awser.

Thanks for your response.

I'm trying to have Opsgenie alerts be sent to WhatsApp.

So, based on your response, I have to choose the webhook option, right?

Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 16, 2022

@Ricardo Cardoso D_ Oliveira 

 

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.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events