The create endpoints do not update. If one external ID in the request exists already, the whole request returns
409and nothing is saved. This applies to both Matters and Records.
For each record that changed in your external system:
- Call
GET /v1/clients/Records/{dataSource}/{externalId}, for exampleGET /v1/clients/Records/elite3e/C-88231. - If it returns
404, the record is new. Create it withPOST /v1/clients/Records. - If it returns the record, take its
idand 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: truewhen syncing. The default isfalse, and then a value that exists already returns409. - Values you do not send are left as they are.
- Each entry in
removeAliasesstill needs avaluethat is not empty. The value itself is not used. - When
readOnlyis 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 system | Call |
|---|---|
| Record renamed | PUT /v1/clients/Records/{id} (name only) |
| Matter renamed | PUT /v1/clients/Matters/{id} (name only) |
| Contact no longer used | PUT /v1/clients/Records/{id}/Deactivate |
| Matter closed | PUT /v1/clients/Matters/{id}/Deprecate with { "deprecateAt": "2026-06-30T00:00:00Z" } |
| Access to a matter changed | PATCH /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.
| Status | Meaning | Examples |
|---|---|---|
400 | A 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 |
404 | The data source or the ID does not exist. | Wrong dataSource, unknown record ID |
409 | A rule was broken. | External ID exists already; alias, record type or matter not found; record is deactivated; data source is not active |
Limits
| Property | Maximum length |
|---|---|
externalId (matter and record) | 50 |
Record name | 100 |
Matter name | 200 |
Alias value | 8000 |
Field alias name and record type apiIdentifier | 100 |
For request volumes, see API Usage Guidelines.