Keeping Data in Sync

🚧

The create endpoints do not update. If one external ID in the request exists already, the whole request returns 409 and nothing is saved. This applies to both Matters and Records.

For each record that changed in your external system:

  1. Call GET /v1/clients/Records/{dataSource}/{externalId}, for example GET /v1/clients/Records/elite3e/C-88231.
  2. If it returns 404, the record is new. Create it with POST /v1/clients/Records.
  3. If it returns the record, take its id and send only the values that changed:
PATCH /v1/clients/Records/48213/Aliases
{
  "addAliases": [
    { "alias": "client_email", "value": "[email protected]", "updateIfExists": true }
  ],
  "removeAliases": [
    { "alias": "client_phone", "value": "-" }
  ]
}
  • Always send updateIfExists: true when syncing. The default is false, and then a value that exists already returns 409.
  • Values you do not send are left as they are.
  • Each entry in removeAliases still needs a value that is not empty. The value itself is not used.
  • When readOnly is left out on an update, the current setting is kept.

To add an existing contact to another matter, or remove it from one:

PATCH /v1/clients/Records/48213/Types
{
  "addRecordTypes": [
    { "externalMatterId": "100245-0002", "apiIdentifier": "client" }
  ]
}

Other changes:

Change in the external systemCall
Record renamedPUT /v1/clients/Records/{id} (name only)
Matter renamedPUT /v1/clients/Matters/{id} (name only)
Contact no longer usedPUT /v1/clients/Records/{id}/Deactivate
Matter closedPUT /v1/clients/Matters/{id}/Deprecate with { "deprecateAt": "2026-06-30T00:00:00Z" }
Access to a matter changedPATCH /v1/clients/Matters/{id}/Users or /Groups

A deactivated record cannot be updated until it is reactivated.

Reading changes back

Form fillers can add or change record data while filling in a form. To bring those changes back to your system, use Search for records based on query parameters, or receive the answers of each submission through Webhooks. Values you set as read-only cannot be changed in a form.

Errors

Errors use the problem details format. The detail property says what went wrong.

StatusMeaningExamples
400A value is in the wrong format. The errors property lists each alias.A date that is not yyyy-MM-dd, a name that is not a JSON string
404The data source or the ID does not exist.Wrong dataSource, unknown record ID
409A rule was broken.External ID exists already; alias, record type or matter not found; record is deactivated; data source is not active

Limits

PropertyMaximum length
externalId (matter and record)50
Record name100
Matter name200
Alias value8000
Field alias name and record type apiIdentifier100

For request volumes, see API Usage Guidelines.