Webhooks

Create a webhook in the current user's workspace. The signing secret is returned only once and cannot be retrieved later.

post/webhooks

Request

  • Base URL: https://api.hackmd.io/v1
  • URL: https://api.hackmd.io/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring required
namestring nullable
activeboolean

Response

Created

updatedAtnumber double required
createdAtnumber double required
eventDeliveryMode'all_supported_events' required
deliveryPolicyReason'unsafe_destination' | 'suspicious_pattern' | 'policy_violation' | 'null' nullable required
deliveryPolicyStatus'normal' | 'suppressed' required
configuredStatusReason'scope_deleted' | 'null' nullable required
configuredStatus'active' | 'disabled' required
urlstring required
namestring required
idstring required
secretstring required

Changes

No recorded changes to this operation across all 1 revision of this API.