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 to generate api integration key

Ullas C L
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2024

I'm not able to find API Integration option inside the Integration.

 

Generated a key in key management, But it's throwing exception.

{ "code": 40301, "message": "To perform this action, use an API key from an API integration.", "took": 0.0, "requestId": "33035978-37eb-4781-9a63-23e387020a66" }

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Ullas C L
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2024
0 votes
Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2024

Hey Ullas, 
Thanks for reaching out to Atlassian Community. 

It looks like you are trying to use an API key that was generated in Key Management, but to perform actions with Opsgenie API, you need an API key created through an API integration specifically.

Here's what you need to do:

  1. Go to Integrations in your Opsgenie settings.
  2. Create an API Integration or choose an existing one.
  3. Generate the API key through that integration.

This key will have the proper permissions needed to execute API calls.

Best Regards,
Egor

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events