Hi All,
I want to get all team members details based on their teams and I want to get their escalation policy.
I want to get those details as a file format.
Is there any option to get those details.
Hey @KRISHNA CHAITANYA REMALLI
You should be able to retrieve all the details of team members based on their teams and their escalation policy through Opsgenie's API.
1. Use the "List teams" API to get all teams: `GET https://api.opsgenie.com/v2/teams`
2. For each team, get members using the "Get team" API: `GET https://api.opsgenie.com/v2/teams/{teamId}`
3. Get escalation info for each member using the "Get Escalation" API: `GET https://api.opsgenie.com/v2/escalations/{escalationId}`
These responses are in JSON format.
Also, this is done entirely from your side using our API page:
https://docs.opsgenie.com/docs/api-overview
Best,
Rafa
We can I find that in Opsgenie. Can you please navigate on this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @KRISHNA CHAITANYA REMALLI
Since the usage of APIs are on your side, the links above will direct you to it.
But if you have any questions on the API links above, please let me know.
Best,
Rafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @KRISHNA CHAITANYA REMALLI
Can you show me what you are getting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the white screen I am getting this message
{"message":"Could not authenticate","took":0.001,"requestId":"cfc91427-82af-44c3-8774-95cb1cee6560"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @KRISHNA CHAITANYA REMALLI greetings!
The error you shared while opening the URL is expected as these are just the endpoints that can be used in your API calls to extract the requested information and not the web URLs.
For example below Is an example API call to GET your team details.
curl -X GET 'https://api.opsgenie.com/v2/teams/YourTeamName?identifierType=name' --header 'Authorization: GenieKey YourAPIKEY'
From the above API call, you need to replace the "YourTeamName" section with your Opsgenie instance team name and the "YourAPIKEY" section with your API key acquired from your Opsgenie instance.
You are required to follow the instructions provided at https://docs.opsgenie.com/docs/api-overview to retrieve any information or perform any action on your Opsgenie instance using the API.
You can also make use of the Opsgenie Analytics option available from the Analytics section of your Opsgenie. (If you don't see the Analytics tab in your instance then reach out to your Opsgenie account Admin/Owner user for access). More details about Atlassian Analytics reports can be accessed from https://support.atlassian.com/opsgenie/docs/view-reports-and-analytics-in-opsgenie/
I hope the details provided are helpful.
Regards
Mubeen Mohammed
Cloud Support Engineer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.