## List PagerDuty services `client.alerting.destinations.pagerduty.get(PagerdutyGetParamsparams, RequestOptionsoptions?): SinglePage` **get** `/accounts/{account_id}/alerting/v3/destinations/pagerduty` Get a list of all configured PagerDuty services. ### Parameters - `params: PagerdutyGetParams` - `account_id: string` The account id ### Returns - `Pagerduty` - `id?: string` UUID - `name?: string` The name of the pagerduty service. ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); // Automatically fetches more pages as needed. for await (const pagerduty of client.alerting.destinations.pagerduty.get({ account_id: '023e105f4ecef8ad9ca31a8372d0c353', })) { console.log(pagerduty.id); } ``` #### Response ```json { "errors": [ { "message": "message", "code": 1000 } ], "messages": [ { "message": "message", "code": 1000 } ], "success": true, "result": [ { "id": "f174e90afafe4643bbbc4a0ed4fc8415", "name": "My PagerDuty Service" } ] } ```