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

API Setup - URL to send requests

Hi,

I am trying to set our organisation up to send HTTP Requests to our OpsGenie. I have created API Keys and did set things up in Porstman to test this out.

Where can I find the base URL to call our organization's OpsGenie API?

Thanks!

2 answers

2 accepted

1 vote
Answer accepted

Thank you @Mikael Sandberg :)

I have setup an API Key in API Key Management and provided Read, Create and Update, Delete and Configuration access.

In Postman, I used the API name and Key using API Key authentication type. The URl is https://api.opsgenie.com/V2/alerts (a GET to list alerts) but when I send the request, I am getting this response (404 not found):

{
    "message""no Route matched with those values"
}

Any suggestions?

Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 08, 2022 • edited

Hi @Jean-Eric Paulin ,

A 404 typically means, "Resource or handler not found" - which realistically means the URL cannot be found or is incorrect. You need to be using: https://api.opsgenie.com/v2/alerts

The URL is case sensitive, and the one you shared above has a capital "V."

Like Mikael Sandberg likes this
1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 08, 2022

Hi @Jean-Eric Paulin,

Welcome to Atlassian Community!

The base URL for Opsgenie is not org specific, that information is part of the API key. The base URL is https://api.opsgenie.com, if you are using the EU instance it is https://api.eu.opsgenie.com

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events