Restore State Webhook

Restore State Webhook

Restores can be requested from the application restore page or via the API (full, selective). The current restore state will be communicated via webhook. See the Webhook Events Overview for more general information.

ID: Webhook ID
Event: website_restore_state_changed
Target: Includes unique Website ID as id
Body: The previous and current restore state.

Example

{
  "id":123456,
  "event": "website_restore_state_changed",
  "target": {
    "type": "Website",
    "id": 123,
    "owner_id": 123
  },
  "body": {
    "previous_state": {
      "code": 0,
      "description": "not requested"
    },
    "current_state": {
      "code": 1,
      "description": "requested"
    }
  },
  "partner": {
    "id": 1
  }
}