User Activity API

Is there a way to get the users activity through the API? See attached screenshot

If not, is there a way to determine through the API if a user has created an API key?

You can list the Incidents for a given user by calling the Incidents endpoints and then passing the userIds[] parameter like this:

https://api.pagerduty.com/incidents/?userIds[]=USERID123

You can find more information about the Incidents endpoint here.

As for checking if another user created an API key, that is not available through the API.

1 Like