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:
https://api.opsgenie.com/v2/alerts/91a9e9fa-e792-4840-bbb5-044cece7d224-1627996363801
Hope this helps! Let us know if you have any other questions.
I still can't get it working. Not sure why it is so difficult. I am checking with support.
Would you know how to increase log levels with Lamp?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Looks like it's permit
Based on that one
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.