webhooks

Create a webhook subscription

Creates a subscription and returns the signing secret ONCE. Store it — subsequent responses only show a prefix.

post/api/v1/webhooks

Request

  • Base URL: https://monit.rs
  • URL: https://monit.rs/api/v1/webhooks
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

namestring required
urlstring uri required
eventsstring[] required

Response

Created. Response includes plaintext secret shown once.

Changes

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