Start Now

Webhooks


Update Webhook Subscription

Request

PATCH /webhooks/uuid

Parameters

NameTypeDescription
uuidstringRequired -- Uuid of the webhook
urlstringRequired -- URL where the webhook subscription should send the POST request when the event occurs

Request Payload Example

{
  "url": "https://report.example.com/status_up"
}

Request Curl Example

curl -X PATCH \
-H "Content-Type: application/json" \
-H "Authorization: Bearer d3d6763224e8f54ee5aeb08202b7eb101d97081876819cb48833d9f892185917" \
-d \
  '{
    "url":"https://report.example.com/status_up"
  }' \
"https://api.statsignal.dev/v1/webhooks/b7335e08-b376-42a4-a04f-5c871a1c75ac"

Response Example

Status: 200 Updated

{
  "uuid": "b7335e08-b376-42a4-a04f-5c871a1c75ac",
  "topic": "monitors/status_change",
  "url": "https://report.example.com/status_up",
  "createdAt": "2021-05-09T04:38:42.09448Z",
  "updatedAt": "2021-05-09T04:47:28.583677294Z"
}
Statsignal - Uptime monitoring and status page | Product Hunt
Statsignal is designed and built by 19 Signals LLC. Copyright ©2021 19 Signals LLC. All rights reserved.