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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,289
Community Members
 
Community Events
176
Community Groups

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

0 votes

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?

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
0 votes
Mikael Sandberg Community Leader 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

Atlassian Community Events