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 to use for audit logging (defaults to the configured one).

Response

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

Create an incident

Open a new PagerDuty incident for a service with optional body text.

Parameters

ParameterTypeRequiredDescription
service_idstringYesPagerDuty service ID.
titlestringYesIncident title.
from_emailstringNoEmail to use for audit logging (defaults to the configured one).
urgencystringNoIncident urgency (high or low).
bodystringNoOptional incident details/body text.

Response

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

List services

Retrieve PagerDuty services the token can access.

Parameters

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

Response

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

On this page