Can I make a incidents api call of filter on 'Priorities'?

Hi All,

I am trying to make a get request to ‘https://api.pagerduty.com/incidents’ following instruction on https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1incidents/get .

I would like to make a request with filter on ‘Priorities’ parameter to get only those incidents that fall under certain priority, e.g. P1 or P2.

Is this supported in pagerduty incident API currently?

Thank you.

It doesn’t look like it. You’d need to get all incidents with priorities included, then filter elsewhere in your script logic.

Thank you Doug for your response.