Skip to content

Postman Collection

We provide an official Postman collection with all API endpoints pre-configured.

Download Postman Collection

  1. Open Postman
  2. Click Import (top left)
  3. Drag the downloaded JSON file or click Upload Files
  4. The FileSafety API collection appears in your sidebar

After importing, set your API key:

  1. Click the FileSafety API collection name
  2. Go to the Variables tab
  3. Set api_key to your API key (e.g., fs_live_...)
  4. Save

All requests inherit the x-api-key header automatically.

FolderRequestDescription
ScanningScan file (direct upload)POST /v1/scan with multipart file
ScanningScan file (presigned URL)POST /v1/scan with JSON body — returns upload URL for large files
ScanningUpload file to presigned URLPUT file to the presigned URL
StatusGet scan statusGET /v1/scan/{scan_id}
AccountGet usage & quotaGET /v1/usage

The collection includes test scripts that automatically save scan_id and upload_url from responses. Run the requests in order — the scan ID flows through to subsequent requests automatically.

The collection uses https://api.filesafety.dev as the default base URL. You can change this in the collection Variables tab if needed.