Create a Slack Connection
Creates a Slack Connection
Important
Make sure that your PagerDuty account is linked to your Slack workspace and your PagerDuty user is linked to your Slack user. You can do this on the Slack extension page in your PagerDuty account.
Important
Ensure you are using a User API Token or a User OAuth Token to make requests to this API. Also, check that your user has necessary permissions (Owner or Global Admin). See https://developer.pagerduty.com/docs/rest-api-v2/authentication/ for the details.
Scoped OAuth requires: services.read users.read webhook_subscriptions.write priorities.read incidents.read
The API Key with format Token token=<API_KEY>
In: header
Path Parameters
Slack team (workspace) id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json