Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

0 votes
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

Suggest an answer

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

Atlassian Community Events