GET
/
v1
/
apps
/
{id}
/
backups
/
{backup_id}
Download Application Backup
curl --request GET \
  --url https://api.vertracloud.app/v1/apps/{id}/backups/{backup_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "error",
  "code": "UNAUTHORIZED"
}
id
string
required
The ID of the application to download the backup for. If the application belongs to an organization, include the organization ID in the format appId-orgId.
backup_id
string
required
The ID of the backup to download.

Response

The response is a binary ZIP file containing the application backup.
  • Content-Type: application/zip
  • Content-Disposition: attachment; filename="backup-{appId}-{backup_id}.zip"

Error Responses

status
string
Indicates whether the call was successful. error if not successful.
code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • FORBIDDEN: The user does not have permission to access the application.
  • APP_NOT_FOUND: The specified application does not exist.
  • BACKUP_NOT_FOUND: The specified backup does not exist.
  • BACKUP_DATA_NOT_FOUND: The backup data could not be retrieved.
{
  "status": "error",
  "code": "UNAUTHORIZED"
}