Send a Webhook POST

Web API

📘

Availability

This workflow action is available on our Business and Enterprise for Incident Management pricing plans. Please contact our Sales Team to upgrade to an account with this action.

Description

Send a POST request with a customized body and headers.

🚧

PagerDuty Events API

POST requests to the PagerDuty Events API is currently blocked from Incident Workflows.

Instructions

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

Inputs

NameDescription
URLEnter the URL to send the webhook request to. Only HTTPS URLs are supported.
Authentication HeadersSelect a Workflow Integration or click New Web API Connection to establish a new one.
HeadersEnter a list of headers to include on the request, one per line. DO NOT INCLUDE SENSITIVE HEADERS, create a new Web API Credentials Connection above and use that instead. Ex: Content-Type: application/json
BodyThe body to attach to the request. This field is blank by default. You will need to create and format the appropriate payload (e.g., JSON) for the tool or endpoint you are sending the webhook request to.

👍

Recommendation

We recommend using an online tool such as Webhook.site or PostBin to test and review the body you created for the request.

Outputs

NameDescription
Response Status CodeThe status code of the response.
Successful Status Code ResponseWhether or not the response status code indicates success (2XX).
Response HeadersThe HTTP headers set in the response.
Response Time in MillisecondsThe time in milliseconds taken for a response to be sent to the request.
ResultValue that shows if the action was successful or not. Either "Success" or "Failed."
Result SummaryBrief description of what the action did or if it failed.
ErrorBrief description that is populated if the action failed.

📘

Webhook IP Addresses

Incident Workflows does not use a static list of IP addresses for webhook actions. We recommend using Authentication Headers, rather than source IP address, to validate requests.