Trigger webhook
Externally triggers a webhook action. This endpoint is public but requires a valid HMAC-SHA256 signature in the X-Webhook-Signature header. Sign the exact raw bytes of the request body; an empty body is rejected.
Compute the signature as: sha256= + HMAC-SHA256(raw_request_body, webhook_secret).
Every unauthenticated rejection (unknown id, disabled webhook, missing or invalid signature, empty body) returns the same 404 response so callers cannot enumerate webhook ids from the response surface.
Path parameters
Numeric resource ID.
Request body
Response
Webhook accepted and action queued.
Example response
{
"message": "Webhook accepted",
"action": "deploy"
}Changes
Changed in 4 of the 36 revisions of this API.2418
- ○
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 status404response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status429response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ○
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ▲
request body became required
request-body-became-required
- ▲
request property
actionwas restricted to a list of enum valuesrequest-property-became-enum
- ○
added the new
deployenum value to the request propertyactionrequest-property-enum-value-added
- ○
added the new
git-pullenum value to the request propertyactionrequest-property-enum-value-added
- ○
added the new
pullenum value to the request propertyactionrequest-property-enum-value-added
- ○
added the new
restartenum value to the request propertyactionrequest-property-enum-value-added
- ○
added the new
startenum value to the request propertyactionrequest-property-enum-value-added
- ○
added the new
stopenum value to the request propertyactionrequest-property-enum-value-added
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
removed the non-success response with the status
401response-non-success-status-removed
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ▲
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status401response-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 status404response-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 status401response-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 status404response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ●