Webhooks
Webhook Callback Request
Request HTTP Method
POST
Request Headers
Field | Description |
---|
Content-Lenght | Size of the request body, in bytes. |
X-Statsignal-Api-Version | The Statsignal API version. |
X-Statsignal-Topic | Subscribed topic name. |
X-Statsignal-Webhook-Id | Subscribed Id. |
Accept-Encoding | The content encoding. |
User-Agent | Client software and version that is making the request. |
Connection | Type of connection between client and server." |
X-Statsignal-Hmac-Sha256 | Generated by applying your secret key found in "Settings / API / HMAC Secret Key". |
Request Body
Field | Description |
---|
uuid | Monitor UUID |
urn | Urn address |
type | Scheme or Protocol |
name | Name of the Monitor |
status | The actual status of the monitor |
statusAt | Date on which the monitor obtained this status |
Webhook Callback Request Example
Request HTTP Headers
Content-Length: 170
X-Statsignal-Api-Version: 1.0
X-Statsignal-Topic: monitors/status_change
X-Statsignal-Webhook-Id: 02c4644e924b436a9c4bd43231c6ff7e
Accept-Encoding: gzip
User-Agent: Statsignal
Connection: close
X-Statsignal-Hmac-Sha256: yvneHhGzjCcwyQAdVcfuoND/KDct1jhg9qPfarhvu6M=
Request HTTP Body
{
"uuid":"ef544be0ae954bd7aed28d7f31e3df90",
"urn":"acme.com",
"type":"https",
"name":"Acme Corp",
"status":"maintenance",
"statusAt":"2023-01-29T00:31:54.98598449Z"
}