I am trying to check if the API works.
curl -X GET "https://api.opsgenie.com/v2/alerts/requests/40dd7940-a388-482a-bc06-1a792bf785a4-1627953015805" -H "Authorization: GenieKey ***dd***-766e-4209-****-****e598b976"
gives me: 'Could not authenticate'
I am on the free plan.
Any idea what might be going wrong?
Hi @Nilan Bhattacharya ,
The Get Request Status API is available on the Free plan. Make sure you are using the correct URL depending on whether your Opsgenie account is US or EU:
So you're aware, your request shared above it to GET an alert based on the request ID (not the alert ID). For example, below I created an alert via API - which produces a request ID in the response:
I'd need to use that request ID in the Get Request Status API call:
Otherwise, I could use the alert ID to GET the alert as well (above) with this:
Hope this helps! Let us know if you have any other questions.
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events