Filevine API AtlasHomeMain APIBulk DataIdentityWebhook events
Start here

Bulk Data Workflow

The Bulk Data API works with Filevine records in bulk, using a file you upload. Each file is processed as a job, which moves through upload, validation and execution. The calls must be made

The Bulk Data API works with Filevine records in bulk, using a file you upload. Each file is processed as a job, which moves through upload, validation and execution. The calls must be made in a set order, and several of them start work that runs in the background, so this guide walks through a job from start to finish.

1. Prerequisite Steps

Request a Bearer Token

Follow the steps in Authentication to request a bearer token, using these scopes:

fv.bulkdata.api.all fv.api.gateway.access tenant openid email fv.auth.tenant.read

  • fv.bulkdata.api.all: Grants access to the Bulk Data API.
  • tenant and email: Bulk Data identifies your tenant and user from the bearer token, and rejects a token without them.

All Bulk Data endpoints are under https://api.filevineapp.com/bulk-data/v1.

Org ID

As with all requests to the API gateway, include your Org ID in the x-fv-orgid header on every Bulk Data request. Some endpoints also take it in the request itself: in the body when you create a job, and as the orgId query parameter when you list jobs or look up Filevine IDs. Use the same Org ID in both places: Bulk Data acts on the one in the request.

Choose a Type and Operation

Each job works on one type of record, such as billing-item, and performs one operation on it, such as Import. List the available types and the operations each supports:

Method GET
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/types
Auth Type Bearer Token
Query Parameters offset (default 0) and limit (default 100, maximum 500)

Sample Response:

{
  "types": [
    {
      "code": "billing-item",
      "displayName": "Billing Item",
      "operations": ["Import", "Update", "Delete"]
    }
  ],
  "offset": 0,
  "limit": 100,
  "totalCount": 1,
  "hasMore": false
}

Then request the JSON schema for the type and operation you chose. The schema describes the fields each row of your CSV file must provide, including the format of each record's externalId, the ID you assign to it.

Method GET
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/types/{type}/operations/{operation}/schema
Auth Type Bearer Token

2. Create the Job

Method POST
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs
Auth Type Bearer Token
Body orgId, type and operation are required. description is optional (up to 1,000 characters).
{
  "orgId": 1234,
  "type": "billing-item",
  "operation": "Import",
  "description": "September billing import"
}

You will receive the new job in the dataUploadPending status, with a presignedUrl for uploading your file. Save the job's id; every following step uses it.

Sample Response:

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "tenantId": "9b2d7c1e-4a5f-4e8b-9c3d-2f1a6b7e8d90",
  "orgId": 1234,
  "type": "billing-item",
  "operation": "Import",
  "format": "csv",
  "status": "dataUploadPending",
  "description": "September billing import",
  "createdBy": "jane.doe@example.com",
  "createdAt": "2026-09-25T17:02:11Z",
  "updatedAt": "2026-09-25T17:02:11Z",
  "processedCount": 0,
  "errorCount": 0,
  "validationErrorCount": 0,
  "successCount": 0,
  "presignedUrl": {
    "url": "https://{storage-host}/{object-key}?X-Amz-Signature=...",
    "method": "PUT",
    "expiresAt": "2026-09-25T18:02:11+00:00"
  }
}

3. Upload the File

Upload your CSV file by sending it as the request body of a PUT request to presignedUrl.url.

Method PUT
Endpoint/URI The presignedUrl.url value from step 2
Auth Type None
Body The CSV file

Please note!

  • This request goes directly to cloud storage, not to the Filevine API gateway. Do not send an Authorization header; the URL already carries its own credentials, and the upload will be rejected if you add one.
  • The URL expires at presignedUrl.expiresAt, one hour after it was issued. If it expires before you upload, request a new one with PUT https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}/data. This is only possible while the job is dataUploadPending.

4. Validate the Job

Once the file is uploaded, request validation.

Method POST
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}/validate
Auth Type Bearer Token

The job moves to validationRequested, and validation runs in the background. Poll the job until validation finishes:

Method GET
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}
Auth Type Bearer Token

Validation is finished when the status is one of:

  • executionPending: At least one row is valid. The job is ready to execute.
  • validationFailed: Every row was rejected. Nothing can be executed. Fix the rows listed in the validation report, then create a new job with the corrected file.
  • validationAborted: The whole file was rejected before any row was checked, for example because required headers are missing. failureMessage says why. Nothing can be executed. Fix the file, then create a new job with the corrected file.

A file doesn't have to be entirely valid to proceed. Once validation has checked the rows, totalRecords is the number of rows in your file and validationErrorCount is the number of rows that were rejected. Rejected rows are skipped during execution. An aborted job checked no rows, so it has no totalRecords and its counts are 0.

5. Download the Validation Report

Request a download link for the validation report, a CSV file, to review the rows that failed validation before you execute. The report exists only when at least one row failed validation or validation was aborted; if every row is valid, this request returns 400. An aborted job's report holds a single row repeating failureMessage.

Method GET
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}/validation/report
Auth Type Bearer Token

You will receive the job with a presignedUrl whose method is GET. Download the report with a GET request to presignedUrl.url, again without an Authorization header.

6. Execute the Job

When you are ready, execute the job. This is only possible while the job is executionPending.

Method POST
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}/execute
Auth Type Bearer Token

The job moves to executionRequested, and execution runs in the background. executionRequestedAt records when you executed it, and executionRequestedBy who did, which may differ from createdBy. Both stay the same for the rest of the job's life.

Sample Response:

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "tenantId": "9b2d7c1e-4a5f-4e8b-9c3d-2f1a6b7e8d90",
  "orgId": 1234,
  "type": "billing-item",
  "operation": "Import",
  "format": "csv",
  "status": "executionRequested",
  "description": "September billing import",
  "createdBy": "jane.doe@example.com",
  "createdAt": "2026-09-25T17:02:11Z",
  "updatedAt": "2026-09-25T17:06:05Z",
  "executionRequestedAt": "2026-09-25T17:06:05Z",
  "executionRequestedBy": "jane.doe@example.com",
  "processedCount": 250,
  "errorCount": 0,
  "validationErrorCount": 0,
  "totalRecords": 250,
  "successCount": 250
}

Poll the job as in step 4 until the status is one of:

  • executionCompleted: Every executed row succeeded.
  • executionCompletedWithErrors: Some executed rows failed.

When execution finishes, processedCount, errorCount and successCount describe the execution, and completedAt records when it finished.

7. Download the Execution Report

Request a download link for the execution report, a CSV file with the outcome of the executed rows.

Method GET
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}/execution/report
Auth Type Bearer Token

As in step 5, download the report with a GET request to presignedUrl.url, without an Authorization header.

8. Look Up Filevine IDs

After execution, look up the Filevine IDs of the records your file created by sending the externalId values from your file.

Method POST
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/types/{type}/id-mappings?orgId={orgId}
Auth Type Bearer Token
Body externalIds: between 1 and 2,000 external IDs
{
  "externalIds": ["@emp-1001", "@emp-1002"]
}

Sample Response:

{
  "mappings": {
    "@emp-1001": "5821",
    "@emp-1002": null
  }
}

An external ID maps to null if the record was never imported, or was deleted after it was imported. A cancelled job's rows are included if they were executed before the cancel. If the same external ID was imported by more than one job, the job that finished most recently wins.

9. List Jobs

List the org's jobs, newest first, a page at a time.

Method GET
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs?orgId={orgId}
Auth Type Bearer Token
Query Parameters orgId (required), offset (default 0) and limit (default 100, maximum 500)

Sample Response:

{
  "jobs": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "tenantId": "9b2d7c1e-4a5f-4e8b-9c3d-2f1a6b7e8d90",
      "orgId": 1234,
      "type": "billing-item",
      "operation": "Import",
      "format": "csv",
      "status": "executionCompleted",
      "description": "September billing import",
      "createdBy": "jane.doe@example.com",
      "createdAt": "2026-09-25T17:02:11Z",
      "updatedAt": "2026-09-25T17:09:42Z",
      "completedAt": "2026-09-25T17:09:42Z",
      "executionRequestedAt": "2026-09-25T17:06:05Z",
      "executionRequestedBy": "jane.doe@example.com",
      "processedCount": 250,
      "errorCount": 0,
      "validationErrorCount": 0,
      "totalRecords": 250,
      "successCount": 250
    }
  ],
  "offset": 0,
  "limit": 100,
  "totalCount": 1,
  "hasMore": false
}

When hasMore is true, request the next page by adding limit to offset.

10. Job Statuses

Status Meaning Allowed actions
dataUploadPending Waiting for the file Upload the file, request a new upload URL, validate
validationRequested, validationInProgress Validating Cancel
validationFailed Every row was rejected Download the validation report; to retry, create a new job with the corrected file
validationAborted The file was rejected before any row was checked; failureMessage says why Download the validation report; to retry, create a new job with the corrected file
executionPending Validated; at least one row is valid Download the validation report, execute, cancel
executionRequested, executionInProgress Executing Download the validation report, cancel
executionCompleted Every executed row succeeded Download either report
executionCompletedWithErrors Some executed rows failed Download either report
cancellationRequested Stopping None
cancelled Stopped Download any report produced before cancelling

A validation report exists only when at least one row failed validation or validation was aborted.

Status values are returned in camelCase, as shown above. Operation values are returned in PascalCase, such as Import.

11. Cancelling a Job

Method POST
Endpoint/URI https://api.filevineapp.com/bulk-data/v1/jobs/{jobId}/cancel
Auth Type Bearer Token

You can cancel a job that is validating, waiting to execute or executing. A job in any other status can't be cancelled.

12. Errors

Errors are returned as a problem details object that includes a correlationId. When a request fails validation, errors lists the failures by field name. Include it when you contact Filevine about a failed request. To set the correlation ID yourself, send it in the optional x-fv-correlation-id header; the response echoes it back.

Sample Response:

{
  "title": "ValidationException",
  "status": 400,
  "detail": "Execution report file does not exist",
  "correlationId": "c0a8012e-7d4b-4f7e-9a51-3b2e6f1d9c84",
  "errors": {
    "": ["Execution report file does not exist"]
  }
}

For the full list of endpoints, request fields and response fields, see the Filevine Bulk Data API reference.

Source: https://developer.filevine.io/docs/v2-us

More in Start here

Related pages