Skip to main content

Files API

The Files API allows you to list and retrieve files associated with migrations.

Authentication

All API requests require authentication using an API key. For details on API keys and authentication, see the API Authorization guide.

File Data Structure

File data is returned in a structured JSON format that includes:

File Fields

The file object contains the following fields:

File Types

Each file is downloaded from a specific source on the source system’s website. The “source” of each file can be inferred by the type field. Here is a subset of all possible file types:
  • CompanyInfo-EntityType-Screenshot
  • CompanyInfo-EntityType-HTML
  • ContractorInfo-Details-CSV
  • ContractorPayments-Report-CSV
  • Deductions-Benefits-Screenshot
  • Deductions-Benefits-HTML
  • Deductions-Pay-HTML
  • Deductions-Report-CSV
  • Deductions-Report-HTML
  • DirectDeposit-Report-CSV
  • EmployeeData-Report-CSV
  • FederalTax-Setup-Screenshot
  • FederalTax-Setup-HTML
  • FederalTax-Document-PDF
  • Location-Screenshot
  • Location-HTML
  • PayrollJournal-Report-CSV
  • PTOData-Policy-Screenshot
  • PTOData-Policy-HTML
  • PTOData-Policy-XLSX
  • SignatoryData-Screenshot
  • SignatoryData-HTML
  • StateTax-Setup-Screenshot
  • StateTax-Setup-HTML
  • StateTax-Document-PDF
  • TimeOffBalances-Report-CSV

API Endpoints

List Files

To list all files for a specific migration:

Get File Details

To retrieve details for a specific file:

Best Practices

  • Cache file metadata to minimize API calls
  • Implement proper error handling for API requests