Stacks
Webhooks
CreateStackWebhook
Creates a new webhook for the specified stack. The request body must include the webhook name, payload URL, and format.
The format field accepts: raw (default), slack, ms_teams, or pulumi_deployments.
The filters field accepts a list of event types to subscribe to. See the webhook event filtering documentation for available filters.
The optional secret field sets the HMAC key for signature verification. See the webhook headers documentation for details.
Returns 409 if a webhook with the same name already exists. Returns 400 if the organization or stack name in the request body does not match the URL path parameters.
post/api/stacks/{orgName}/{projectName}/{stackName}/hooks
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}/{stackName}/hooks
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
stackNamestring required
The stack name
Request body
Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.