Download via API
Sample request
GET /api/v1/data_exports/download_sql HTTP/1.1Host: api.example.comAuthorization: Bearer YOUR_API_TOKENcurl -L -o "demo.db" "https://api.example.com/api/v1/data_exports/download_sql" \ -u "username:password"$username = "username"$password = "password"$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username, $password)))
$headers = @{ "Authorization" = "Basic $base64AuthInfo"}
Invoke-RestMethod -Uri "https://api.example.com/api/v1/data_exports/download_sql" ` -Method GET ` -Headers $headers"THE BINARY DATA"Is usually updated every hour. Download is a sqlite .db file.
