GET
/
v1
/
sanctions
/
logs
/
export
Export sanctions logs
curl --request GET \
  --url https://api.example.com/v1/sanctions/logs/export
Requires API-key scope sanctions.export and tenant permission log.view. Supports the same userId, kycId, transactionId, status, provider, dateFrom, and dateTo filters as List sanctions logs.
curl "https://v2.app-dev.zquence.com/v1/sanctions/logs/export?dateFrom=2026-08-01&dateTo=2026-08-31" \
  -H "x-api-key: $ZQUENCE_PUBLIC_KEY" \
  -H "x-api-secret: $ZQUENCE_SECRET_KEY" \
  --output sanctions-logs.csv
Returns 200 OK as a UTF-8 CSV attachment named sanctions-logs.csv. The export contains records from the API key’s environment.