Missed Team ’24? Catch up on announcements here.

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

Get Schedule of Team Via Postman

Dhary Almousa
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!
April 28, 2024

Dear Community,

 

I have the postman apis for opsgenie and i am trying to get the on call schedule however i keep getting error could not authenticate even though i am using the API Key from my settings in ops genie.

 

Br,

1 answer

0 votes
Elelta D
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2024

Hey there Dhary, 

Thanks for getting in touch! 

Can you please tell me what error you see? There are a a few types possibilities for what is happening.

 

401 - Unauthenticated (Not Unauthorized)   apiKey is invalid or integration is disabled
403 - Forbidden (Unauthorized) 40301 apiKey is valid but the apiKey cannot do this operation because of permissions
403 - Forbidden 40302 apiKey is valid and authorized but we do not support the request

In the case of a 401, please check the api key is correct and that the integration is active/

In the case of 40301, it means the the API key is from the API Key Management and you need to get the API from API integration by going to the Settings tab >> Integrations and selecting the API integration you would like to use.

In the case of 40302, it means that the request is not support, perhaps the endpoint is incorrect.

 

 

 

Elelta D
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2024

Dhary, a quick follow up to say that when you configure your api key in postman you can do it in the authorisation tab, chose the API key type and add the key as below where the Key = GenieKey and the Value = the API key from your integration. 

postmanauth.png

Let me know how you go.

 

 

Suggest an answer

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

Atlassian Community Events