Webhook call
This represents a log entry in the webhooks activity list, detailing a specific webhook event along with its delivery attempt information.
Object payload
ID of webhook call
"42"
 Must be exactly "webhook_call".
The subject of webhook triggering
"item"
 The event that triggers the webhook call
"update"
 The moment the event was created
"2016-09-20T18:50:24.914Z"
 The url that the webhook called
"https://www.example.com/webhook"
 The request's headers
{
  Accept: "*/*",
  "User-Agent": "DatoCMS (datocms.com)",
  Authorization: "Basic Y2lhbzptaWFv",
  "Content-Type": "application/json",
}
 The webhook's request payload is encoded as a string. Use JSON.parse() to parse it.
'{"webhook_call_id":"103216210","event_triggered_at":"2024-08-26T12:49:16Z","attempted_auto_retries_count":0,"webhook_id":"28374","site_id":"205","environment":"main","is_environment_primary":true,"entity_type":"maintenance_mode","event_type":"change","entity":{"id":"maintenance_mode","type":"maintenance_mode","attributes":{"active":false}},"related_entities":[]}'
 The status of the response
200
 The response's headers
{
  via: "1.1 vegur, 1.1 37c0945d19329fccc23efb283d01aa06.cloudfront.net (CloudFront)",
  date: "Fri, 27 Jul 2018 11:59:20 GMT",
  server: "gunicorn/19.6.0",
}
 The body of the response
"ok"
 The number of retries attempted so far
2
 The last moment the call occurred
"2016-09-20T18:50:24.914Z"
 The date when the next retry attempt is scheduled to run. If no retry attempt is scheduled, it is set to null
"2016-09-20T18:50:24.914Z"
 The current status
"success"
 The delivery attempt is currently in process
Delivery completed successfully
Delivery attempt(s) failed due to errors/timeouts
The last delivery attempt failed, a new one will be retried later