Filevine Integration
This integration pulls Filevine REST API v2 data into Resplendent Data for matter reporting and dashboards.
The integration never creates, updates, or deletes records in Filevine. It reads raw resources and the configuration metadata needed to discover custom sections. It does not create subscriptions, enqueue exports, execute saved reports, or download document contents.
Before you begin
Section titled “Before you begin”Resplendent Data uses Filevine’s headless PAT integration. Your Filevine administrator creates a service account, grants the permissions needed by the Datasets, and generates a personal access token (PAT) associated with that service account. Its permissions determine which records the integration can read.
Activation is required before authentication can provide usable API access. Marketplace accounts can use Filevine’s documented CPI activation process. Non-marketplace accounts require explicit activation by Filevine’s partner team; generic marketplace instructions do not replace that account-specific enablement. Validate a sandbox first, then request activation for the production account.
Resplendent Data’s administrator configures the regional partner client ID and secret on the server. Customers enter only their service-account PAT, region, and an accessible organization. Partner credentials are never form fields. This path needs no browser sign-in, login callback, or logout callback.
Filevine’s API geography is United States or Canada, independently of Resplendent Data’s US or EU hosting.
What you can sync
Section titled “What you can sync”| Dataset | Sync behavior | Notes |
|---|---|---|
| Projects | Incremental; first batch then page history | GET /fv-app/v2/Projects. Uses lastActivity and the latestActivitySince date filter |
| Contacts | Incremental; first batch then page history | GET /fv-app/v2/Contacts. Native personId becomes contact_id; uses modifiedDate and sinceLastDateTimeUtc |
| Billing Items | Snapshot every 1440 minutes by default | Org-wide GET /fv-app/v2/billingitem/org. Requires Org Admin permission; billing item IDs are UUID strings |
| Invoices | Snapshot every 1440 minutes by default | Org-wide GET /fv-app/v2/billingitem/invoices |
| Users | Snapshot every 1440 minutes by default | Org members; user identity comes from the nested User object |
| Project Types | Snapshot every 1440 minutes by default | Lookup for practice types |
| Billing Codes | Snapshot every 1440 minutes by default | GET /fv-app/v2/Billing/AvailableBillingCodes; one row per code in the returned code sets |
| Project Members | Rolling full refresh; one-minute ticks | One row per project/user, with Primary flags and project access level |
| Organization Roles | Snapshot every 1440 minutes by default | Organization role IDs and names, discovered through an accessible project |
| Project Role Assignments | Rolling full refresh; one-minute ticks | One row per project/user/role, preserving source position |
| Project Phases | Snapshot every 1440 minutes by default | One row per project type and phase |
Additional raw resources
Section titled “Additional raw resources”The Dataset selector adds 27 raw resources to the core Datasets above, plus the custom sections, contact tabs, and Taskflow buttons visible to the service account. Refresh the Source catalog to discover newly added sections. Available Datasets still need to be selected and saved before they sync; expanding the catalog does not create Datasets automatically.
Custom resource identities use the project type ID and section/button selectors, or the contact tab ID. Their current Filevine labels are display metadata, so renaming a type, section, button, or tab does not create another selectable resource.
If custom metadata discovery is incomplete, fixed Datasets and custom Datasets already validated remain available with a warning. Discovery shares a bounded operation budget; a warning means the catalog has not been fully enumerated. Refresh the Source catalog to retry custom discovery. Invalid credentials and organization-routing errors still fail the catalog request.
| Area | Additional Datasets |
|---|---|
| Case activity | Project Notes, Project Tasks, Project Appointments, Project Emails, Project Deadlines, Project Deadline Chains |
| Case relationships | Project Contacts, Project Teams, Project Vitals |
| Contacts | Contact Phones, Contact Email Addresses, Contact Addresses, Contact Types |
| Users and teams | User Tasks, User Teams, Organization Teams, Organization Team Details |
| Billing and finances | Invoice Details, Invoice Templates, Rate Schedules, Billing Code Sets, Timekeeper Classifications, Organization Billing Settings, Project Transactions, Project Fund Transactions, Project Fund Balances |
| Lookups | Deadline Chain Types |
Custom project sections appear as Form: … or Collection: … Datasets, separately for each project type and section selector. These include customer-defined expense, medical, intake, case-summary, demand, and settlement data when those sections exist. Custom contact tabs appear as Contact Tab: …. Taskflow state Datasets read whether a button has been triggered and its user/timestamp; they never trigger buttons.
Custom-field columns use a custom_ prefix and normalized Filevine selectors. Their display labels and types come from Filevine’s metadata, including obsolete fields. Renaming a display label does not change the selector-based column identity. Changing the underlying selector is a schema change. Native reference objects and arrays remain JSON strings, with custom scalar values available as individual columns. Existing core Datasets also retain additional fields returned by Filevine rather than discarding fields outside the original model. Passwords, Social Security numbers, and driver’s licence numbers are dropped from every Dataset, including inside nested JSON, whether Filevine returns them as standard or custom fields. Free-text fields such as notes are synced as written.
Parent-scoped rows include filevine_parent_project_id, filevine_parent_contact_id, or the corresponding parent identifier. Join those native identifiers to the appropriate Dataset from the same Source and organization. filevine_row_key is a derived sync key; unkeyed lists use positions within a scan, so it must not be treated as a business identifier. Contact phone, email, and address keys use their native child IDs.
Paged raw lists and parent-scoped resources use rolling full refreshes: one configured batch, at most 20 requests per tick and a 25-second soft budget, under the shared 45-second client deadline. The default cycle target is 360 minutes. Larger tenants and API quotas can extend the cycle. Unpaged organization lookups use daily snapshots. Calendar and financial date ranges are requested explicitly where those APIs otherwise limit history. User Tasks includes completed tasks.
Rolling scans retain identifiers and offsets, not record contents, in their cursor. They overlap offset boundaries and check partial-page identities. A changed boundary restarts the scan without pruning. Confirmed disappearance of a parent skips that parent’s child reads; a missing child endpoint for a still-visible parent fails. Deletions are reconciled only after a complete scan. Rows update as a scan progresses, so these are eventually consistent refreshes, not atomic snapshots. Manual resync still wipes and bootstraps one batch. Permission and source errors remain visible; discovery warnings also appear in Dataset previews.
Billing and finance readers require their corresponding Filevine features and permissions; a disabled feature can return an access or server error rather than an empty list.
Create a new Dataset to change the Source or resource of a rolling Dataset. Existing cursors belong to the original resource. If a connector upgrade changes the resource contract, run a manual resync to reset its cursor.
Coverage boundaries
Section titled “Coverage boundaries”The reviewed REST v2 catalog accounts for all 131 documented GET operations as of November 9, 2026: each is a Dataset, metadata read during custom discovery, or an excluded operation with its reason. Equivalent ID lookups are represented by their list Dataset. Not offered: integration and account configuration (webhooks, Data Connector schedules, saved report definitions), the service account’s own feeds and history, per-record detail and settings reads that need one request per parent record, document resources, payment-account mappings, permission matrices, binary downloads, temporary locators, encrypted import/export packages, deprecated duplicates, search-only views, and saved-report execution. Native partner IDs returned with records are retained as filevine_partner_ids when present.
Historical organization audit logs are not exposed by the reviewed standard REST API. Project Notes and Taskflow button states are not a substitute for the audit events behind an actions-per-user dashboard. Filevine’s documented Bulk Data API handles imports. Rebuilding historical user-activity reporting requires a Filevine-supported audit read/export route; it cannot be established from ordinary case/task records. Lead Docket leads, conversions, and marketing spend belong to the separate Lead Docket integration.
Assignment reporting
Section titled “Assignment reporting”Projects also exposes phase_id, phase_date, incident_date, first_primary_name, first_primary_username, description, hashtags, the legacy teams JSON, document-folder ID, project URL and project email address. Existing Dataset column selections are preserved; refresh the schema and select the new columns when needed.
Project Members joins Projects on project_id and Users on user_id. The user key is Filevine’s native User ID, not OrgUserId. Project Role Assignments joins those same keys plus Organization Roles on org_role_id. Its stable key is project_id:user_id:org_role_id; Project Members uses project_id:user_id. Project Phases uses project_type_id:phase_id; join Projects on both columns. Source Catalog publishes these declared relationships for Eric. Join only Datasets from the same Source and organization.
Primary, project permissions and organization roles have different meanings. Never infer Attorney from is_primary, is_admin, access level or team membership. Confirm the customer’s Attorney role IDs. Positions preserve the source numeric ordering; zero is valid, so do not assume the first member has position 1. The legacy Projects teams field can be null even when the newer project-teams API returns teams.
Project Members and Project Role Assignments use the shared rolling full-sync lifecycle because a tenant-wide project scan may exceed one job’s budget. Bootstrap writes one bounded batch. Later ticks resume the parent-project/page/row cursor, merge stable keys, and remove unseen rows only after a complete cycle succeeds. Project pages request ascending native IDs and verify that order in each response. Each new parent page overlaps the previous page’s final ID. On a changed boundary, bounded offset reads re-anchor the scan and continue with higher IDs, preserving cycle progress and raw page offsets. A cycle that detects churn merges observed rows but cannot prune; a later cycle without detected churn reconciles removals. Cursors saved before the boundary check restart once. The cycle target defaults to 60 minutes; large tenants can take longer. A tick reads at most 20 pages within a 25-second soft budget and the client’s 45-second hard budget. Permission, transient and schema failures do not commit a partial batch or advance its cursor. A queued-project 404 checkpoints successful pages and a pending existence check without completing the cycle. The next tick first checks the parent through a filtered Projects read. Confirmed disappearance skips that parent and disables pruning for the current cycle; a missing child route for a still-visible project fails. Unseen rows remain until a complete cycle without detected churn; refreshes are eventually consistent, not an atomic cross-Dataset snapshot. No modified-date watermark is invented. Scheduled cycles replace nightly resync for these two Datasets. Manual resync still wipes and bootstraps.
Organization Roles needs one accessible project because Filevine exposes the organization-role list through a project route. With no accessible projects, the role Dataset is empty. Phase and role snapshots fail without partial replacement when their page/time budget is exceeded.
The review-only SQL template at apps/backend/documentation/examples/filevine-cases-per-attorney.sql requires confirmed role IDs, case project types, phase treatment and archived-case treatment. Once role IDs are confirmed, the query filters assignments directly so a delayed daily role lookup cannot suppress valid counts. It counts a shared case once for each assigned attorney. Zero-case attorneys require an agreed roster. This is not a published CBPW report: the sandbox has only Primary and cannot establish CBPW’s Attorney mapping.
Projects and Contacts are incremental. initial_pull writes one configured batch (batch_pull_size, default 1000, Filevine’s max limit). Then get_old_rows continues with integer crawler_step paging: offset = (crawler_step - 1) * min(batch_pull_size, 1000). last_resync_timestamp does not change fetch size. Short vendor pages with hasMore=true are followed until the configured batch is filled.
Billing Items, Invoices, Users, Project Types, and Billing Codes are snapshots. initial_pull returns the complete current list, and later scheduled ticks replace it. Billing Items and Invoices do not expose a read-only modified-date filter. The integration explicitly requests the date range from 1900-01-01 through 9999-12-31 to avoid the billing API’s default recent-date window. The fastest snapshot cadence is 360 minutes. A failed or incomplete fetch never replaces the warehouse with a partial snapshot.
Incremental updates use the warehouse watermark with a two-minute overlap. Projects uses the start of that UTC calendar day because latestActivitySince documents date precision. Contacts uses sinceLastDateTimeUtc. Every changed page must be fetched before the update is returned. Hard deletes on incremental Datasets are recovered by nightly resync (wipe, then the first configured batch, then history recrawl). Snapshot replacement also removes deleted rows.
Previews request only the requested row count for paginated endpoints. Billing Codes is an unpaginated lookup; its response is flattened and the preview is limited locally.
Out of this connector: Lead Docket records, historical audit-log exports, saved-report results, documents and file contents, webhook and Data Connector configuration, and write-back.
Setup instructions
Section titled “Setup instructions”- Confirm with your Filevine administrator and partner representative that the integration is activated for the account and has usable API capacity.
- In Filevine, create a service account for Resplendent Data and grant the required read permissions. Billing Items requires Org Admin permission.
- In Filevine Account Manager, generate a PAT associated with that service account. Transfer it through the organization’s approved secure channel; do not paste credentials into chat, tickets, or screenshots.
- In Resplendent Data, open Settings → Integrations → Filevine and choose United States or Canada.
- Enter the PAT in the masked Service-account personal access token field and click Verify PAT and load organizations.
- Choose an accessible organization. Multiple organizations require an explicit choice; a single organization is selected automatically.
- Click Save & Test, then choose the Datasets to sync after the test succeeds.
PAT verification exchanges the PAT for a bearer and reads GetUserOrgsWithToken. Saving repeats authentication and validates the selected organization; Save & Test also reads one project page. PATs and cached gateway tokens are encrypted per customer, separately from public source metadata. Provider tokens and partner credentials never appear in the organization response. PAT edits discard the cached bearer and routing before validation. An invalid PAT, inaccessible organization, missing server configuration, or exhausted quota fails without silently selecting another tenant.
When editing a saved connection, leave the PAT blank to retain it. Supply a replacement PAT to change the Filevine region or reconnect. Existing valid encrypted legacy PAT connections remain usable; already saved OAuth connections retain their durable refresh owner and can be explicitly replaced by a PAT.
Server configuration
Section titled “Server configuration”Configure partner credentials through the deployment’s approved environment or secret manager:
| Setting | Purpose |
|---|---|
FILEVINE_US_CLIENT_ID |
Registered headless US partner client ID |
FILEVINE_US_CLIENT_SECRET |
Server-only US partner secret |
FILEVINE_CA_CLIENT_ID |
Registered Canada partner client ID, if provisioned |
FILEVINE_CA_CLIENT_SECRET |
Server-only Canada partner secret |
The documented PAT scope string is fv.api.gateway.access tenant filevine.v2.api.* openid email fv.auth.tenant.read. It is space-separated and includes email; headed OAuth scope advice does not apply to this PAT exchange. The connector requests fv.vitals.api.* when reading Project Vitals and retains that scope on token renewal. The registered client and service account must allow each scope; a denied optional scope does not replace a working base token. The connector uses the regional Filevine identity token endpoint with grant_type=personal_access_token, then the gateway bearer, User ID, and Org ID. New source keys contain the customer PAT and encrypted gateway session; partner secrets remain in server configuration.
Filevine must confirm activation and capacity for each account. Authentication alone does not prove Dataset access or usable quota. HTTP 429 requires capacity confirmation before retrying beyond the connector’s operation budget.
See Filevine’s PAT gateway guide, CPI and service-account instructions, and rate-limit requests.
Limits and behavior
Section titled “Limits and behavior”- Paginated endpoints accept
offset(default 0) andlimit(default 50, max 1000). Stop whenhasMoreis false oritemsis empty. - Incremental history uses integer
crawler_step. One job is one configured batch. - Compound Filevine IDs (
ItemId.Native) are flattened to scalar native IDs. - Archived or closed matters stay in Projects. They are lifecycle records, not deletes.
- Rate-limit headers include parameters such as
0;r=180;w=60. The integration reads the remaining quota and refill rate, and honorsRetry-Afterseconds or HTTP dates. Successful data is returned immediately; pacing applies before the next request. - Within each worker process, gateway requests for the same regional Client ID share quota waits and run one at a time, including Save & Test, previews, and concurrent sync operations. Other processes and external API consumers can still consume quota; their HTTP 429 responses use the same retry handling.
- Network requests and retries share a 45-second operation budget, below the normal worker timeout. If Filevine requires a longer wait, the operation returns a transient error with API access guidance instead of sleeping past the worker deadline or retrying too early.
- A snapshot that exceeds 50 vendor pages fails without replacing existing data. Large snapshots may need a different import strategy; this limit is not silent truncation.
- Incremental updates support up to 50 vendor pages per operation, within the same 45-second budget. At the maximum page size this covers up to 50,000 changed rows, including watermark overlap. If more pages remain, the update fails without returning partial changes or advancing the watermark. Larger change sets require a different import strategy; increasing the sync frequency can reduce Contacts’ change window, while Projects always includes the watermark’s UTC calendar day.
- Nested objects that are not compound IDs are stored as JSON strings.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | What to try |
|---|---|---|
| Partner credentials not configured | Missing regional server configuration | Ask the Resplendent Data administrator to configure the registered partner credentials securely |
| PAT rejected | Expired, revoked, or incorrect service-account token | Generate a replacement PAT through Filevine Account Manager |
| Organization unavailable | The service account cannot access the selected organization | Verify service-account membership and permissions, then select a discovered organization |
| Access denied / HTTP 403 | Account activation or read permissions missing | Confirm explicit Filevine activation and the service-account Dataset permissions |
| Throttling / HTTP 429 | Insufficient application or account capacity | Ask Filevine to confirm approved capacity; do not repeatedly retry outside the operation budget |
| Saved connection in another region | Region changed without replacing the PAT | Supply the PAT for the target region and verify again |
| Incomplete history after save | Incremental history is still crawling | Wait for the history crawl to finish |
| Missing deleted projects | Nightly resync has not run since the delete | Wait for resync or manually resync the Dataset |