Lodol Docs

PagerDuty

API actions for the PagerDuty integration.

PagerDuty

Connect to PagerDuty with an API token to manage incidents and services.


Acknowledge an incident

Mark an incident as acknowledged.

Parameters

ParameterTypeRequiredDescription
incident_idstringYesPagerDuty incident ID.
from_emailstringNoEmail address to record as the person taking this action. If left blank, the email from your connection settings is used.

Response

{
  "incident": {
    "id": {},
    "status": "mock_value"
  },
  "status": "abc123xyz"
}

Create an incident

Open a new PagerDuty incident for a service, with optional details.

Parameters

ParameterTypeRequiredDescription
service_idstringYesPagerDuty service ID.
titlestringYesIncident title.
from_emailstringNoEmail address to record as the person taking this action. If left blank, the email from your connection settings is used.
urgencystringNoIncident urgency (high or low).
bodystringNoMore details about the incident.

Response

{
  "incident": {
    "html_url": "mock_value",
    "id": "mock_value",
    "incident_number": "mock_value",
    "status": "mock_value"
  },
  "status": "abc123xyz"
}

List services

List the PagerDuty services your account can access.

Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum number of services to return (1-100).

Response

{
  "services": [
    {}
  ],
  "status": "abc123xyz"
}

On this page