Status Page

Register a webhook on a status page

Changed on

Each new public event of the page (an incident update or resolution, a scheduled maintenance window) is posted to the URL as JSON, signed in X-Temps-Signature with the secret returned here, once. The URL must be https:// and resolve to a public address. enabled defaults to true.

post/status-pages/{status_page_id}/webhooks

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

status_page_idinteger required

Status page ID

Request body

enabledboolean

Whether events are posted to it (default true). A webhook created switched off receives nothing until it is enabled.

urlstring required

https:// URL with a public address, at most 2048 characters.

Response

Webhook registered; the secret is shown only now

secretstring required

Verify X-Temps-Signature with it. Store it now: it is never shown again.

Changes