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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API Key is not granted with configuration access

I've created APIs integration to GET Who is on call via cURL

But every time I've tried to cURL to I've received an error below

{"code":40301,"message":"API Key is not granted with configuration access.","took":0.001,"requestId":"18faca16-b73f-4c90-aba0-9f35c43a64f2"}

---curl -X GET '' -H 'Authorization: GenieKey MYAPISKEY'

API Settings
Read Access ✅
Enable ✅

Checked / Tried

1. The API key used is newly created. Can be found under Teams => Integrations, on the Opsgenie web page.

2. Can get the list and details of existing alerts through Alert APIs using the same API Key. The existing alerts are created through the Opsgenie web page.

3. Try giving access to Read, Write, Delete, Restrict configuration

4. Tried changing the path to in case I am using EU instance. It returns "Could not authenticate" so I don't think I am using the EU instance.

1 answer

0 votes
Nick H Atlassian Team Oct 20, 2020

Hi @Taweewat Phonksawai 

A team's API Integration / API Key should be enough to pull the team's schedules using that request. This is the configuration I have with my team's API Integration:




Below is the request for both Postman and Terminal:




Try this curl command:

curl -X GET '' --header 'Authorization: YOUR_API_KEY'

and let us know how it goes.

Also - your account's URL will let you know if you need a US or EU URL. = US >> = EU >>


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Opsgenie

New! Investigate and re-deploy stable deployments from the Incident Investigation view in Opsgenie

We’re excited to announce the latest enhancement to Opsgenie’s Incident Investigation view. Now when an incident occurs users can select the previous stable deployment, and begin the redeployment pro...

311 views 0 3
Read article

Community Events

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

Events near you