The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how do I check the apiKey through API

Dawid Krysiak
September 27, 2024

I am trying to write a tool to inventory our opsgenie monitoring deployments.

the integration Ids obtained by

` curl -X GET 'https://api.opsgenie.com/v2/integrations'`
call do not include the apiKey which is visible from the SNS side
what is the correct api call to obtain the URL/apiKey presented in the opsgenie interface?


1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Elelta D
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 29, 2024

Hello Dawid,

Welcome to the community!

It is not possible to pull the apikey associated with an integration using the public api, this is the intended behaviour for security purposes. 

It is only available in the Opsgenie UI. 

Best wishes,

Elelta

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events