Pagerduty REST API Swagger spec?

Is there a swagger/openapi json file or endpoint available for the Pagerduty REST APIs? I’d like to import it into Postman ( aware of the Postman<->Pagerduty integration for the web UI already )


1 Like

Yep, the Swagger v2 spec for the REST API is available here:

Note that this may change in the future, so be sure to check the forums and for updates!

1 Like

I’m trying to access that link with pyswagger, but get a 403. It returns from curl.

from pyswagger import App
app = App.create('')

Traceback (most recent call last):
  File "./", line 7, in <module>
  app = App.create('')
urllib.error.HTTPError: HTTP Error 403: Forbidden

Is an auth token or specific header required to read this ?

Hi @WTP, this shouldn’t require any token, so that’s strange that you are getting a 403 error. Can you confirm that you followed the installation requirements outlined in the pyswagger docs?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.