Create webhook
Creates a new webhook for a stack. The webhook secret is auto-generated and only returned in the creation response. Requires admin role.
Request body
Example request
{
"name": "GitHub Deploy Hook",
"stack_name": "my-app"
}Response
Webhook created. The secret field is the HMAC signing key; save it now.
Changes
Changed in 3 of the 36 revisions of this API.48
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status403response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ○
- ●
the
namerequest property's maxLength was set to100request-property-max-length-set
- ○
added the new optional request property
node_idnew-optional-request-property
- ○
added the new
git-pullenum value to the request propertyactionrequest-property-enum-value-added
- ●
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status403response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status403response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ●