Skip to main content
GET
/
backups
/
{backupId}
/
download
# Use the full download_url from GET /bots/:id/backups
curl -L "https://api.phanomcloud.online/backups/c1a2b3d4.../download?token=HMAC_TOKEN&user=USER_UUID" \
  -o backup.zip
HTTP/1.1 200 OK
Content-Type: application/zip
Content-Disposition: attachment; filename="before-v2-update.zip"
Content-Length: 45678

[binary zip data]

Documentation Index

Fetch the complete documentation index at: https://docs.phanomcloud.online/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

backupId
string
required
UUID of the backup to download.

Query Parameters

token
string
required
HMAC-signed token from the download_url returned by GET /bots/:id/backups. Valid for approximately 1 hour.
user
string
required
UUID of the user who owns the backup.
Do not construct this URL manually. Always use the download_url returned by the List Backups endpoint, which contains a pre-signed token valid for 1 hour.

Response

Returns the backup as a .zip file with:
  • Content-Type: application/zip
  • Content-Disposition: attachment; filename="backup-name.zip"
# Use the full download_url from GET /bots/:id/backups
curl -L "https://api.phanomcloud.online/backups/c1a2b3d4.../download?token=HMAC_TOKEN&user=USER_UUID" \
  -o backup.zip
HTTP/1.1 200 OK
Content-Type: application/zip
Content-Disposition: attachment; filename="before-v2-update.zip"
Content-Length: 45678

[binary zip data]