Zip Download Webhook
Zip file downloads can be requested from the application restore page or via the API. When available, the download link will be sent via webhook. See the Webhook Events Overview for more general information.
ID: Webhook ID
Event: database_backup_zip_download_available
Target: Includes unique Database
ID as id
Body: The download link and zip metadata.
Example
{
"id":123456,
"event": "database_backup_zip_download_available",
"target": {
"type": "DatabaseBackup",
"id": 123,
"owner_id": 123
},
"body": {
"backup_created_at": "2021-03-31T04:31:47+00:00",
"zip_requested_at": "2021-05-05T14:05:22+00:00",
"size": 228,
"download_url": "https://cg-zips.s3.amazonaws.com/123/database-backup-123/example_com_exampledb_31Mar2021_1620223522.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJKUP75FNLFYSRD7Q%2F20210305%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210505T141121Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=79a494a873da6ebb7e1576d8542bbd82024b1449d055343276f7573908f961a1"
},
"partner": {
"id": 1
}
}