younifyd
Menu

Create Incident Responder Request

Create a responder request for an incident

POST/incidents/{id}/responder_requests

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the Create Incident Responder Request action (under Incidents).
  3. Fill in the fields below, then reference the result from later steps as {{createIncidentResponderRequest.response.data}}.

Request

Path parameters

idstringrequired

The ID of the resource.

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

Default "application/vnd.pagerduty+json;version=2"

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Request body

Enter the body as JSON in the step's Body field.

requester_idstringrequired

The user id of the requester.

messagestringrequired

The message sent with the responder request.

responder_request_targetsanyrequired

The array of targets the responder request is sent to.

json
{
  "requester_id": "string",
  "message": "string",
  "responder_request_targets": null
}

Response

Returns 200 with an object. Read it in later steps with {{createIncidentResponderRequest.response.data.<field>}}.

responder_requestobject
idstring

The ID of the responder request

incidentobject

(schema truncated: exceeded maximum nesting depth)

requesterany
requested_atstring

The time the request was made

messagestring

The message sent with the responder request

responder_request_targetsarray<object>4 fields

The array of targets the responder request is being sent to

json
{
  "responder_request": {
    "id": "string",
    "incident": {},
    "requester": null,
    "requested_at": "string",
    "message": "string",
    "responder_request_targets": [
      {
        "type": "string",
        "id": "string",
        "summary": "string",
        "incident_responders": [
          {
            "state": "pending",
            "user": null,
            "incident": {},
            "updated_at": "string",
            "message": "string",
            "requester": null,
            "requested_at": "string",
            "escalation_policy_requests": [
              null
            ]
          }
        ]
      }
    ]
  }
}

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.