Apis for matter resources
LawVu Matters (1.0)
https://api-sandbox.lawvu.com/matter-apis/
https://api.lawvu.com/matter-apis/
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/quickfind
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/quickfind
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
No request payloadNo response example- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/recent
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/recent
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
No request payload[
  {
    "id": 95,
    "name": "My Matter",
    "matterNumber": "LV1234-0012",
    "lastActivityDateUtc": "2023-12-15T20:30:00Z",
    "organisationId": 1234,
    "managerId": "C7541186-26CE-4C6C-ABFF-37FE3EF57F88",
    "ownerId": "08FD1ED1-627E-4CB9-8388-731227584D21"
  },
  {
    "id": 789,
    "name": "Another Matter",
    "matterNumber": "LV1234-0099",
    "lastActivityDateUtc": "2024-01-12T10:00:00Z",
    "organisationId": 1234,
    "managerId": null,
    "ownerId": "BE17D7D6-721A-4F6D-B081-CAABB6D8F5B9"
  },
  {
    "id": 684,
    "name": "Different Matter",
    "matterNumber": "LV1234-0054",
    "lastActivityDateUtc": "2023-12-10T15:30:00Z",
    "organisationId": 1234,
    "managerId": "C7541186-26CE-4C6C-ABFF-37FE3EF57F88",
    "ownerId": "BE17D7D6-721A-4F6D-B081-CAABB6D8F5B9"
  }
]- application/json-patch+json
 - application/json
 - text/json
 - application/*+json
 
To retrieve fields for matter creation ref: mattercategories/{categoryId}/createSchema Fields without grouping example serialization: "fields":{ "field_[fieldId]":null, "field_[fieldId]":false } Fields with grouping example serialization: "fields":{ "group_[groupId]": { "field_[fieldId]":null, "field_[fieldId]":false } }
Optionally set an ID from an external system. Uniqueness is enforced for your organisation
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters
 - Production API
https://api.lawvu.com/matter-apis/v1/matters
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
{ "name": "string", "categoryId": 0, "organisationId": 0, "fields": {}, "restricted": true, "urgent": true, "parentId": 0, "managerId": "string", "ownerId": "string", "externalId": "string", "teamId": 0 }
Gets or sets the filtering logic for filters. Value by default is 'and'
Array of filters object (optional) 
 Object Properties: 
- Field: field to filter by 
 - Operator: operator used to filter by 
 - Value: value to filter by
 
Operator used for filtering (optional)
Controls the scope of matters returned by this operation
Default: Personal
Options:
- All - Returns all matters regardless of whether the authenticated user is a member. Requires the authenticated user to be a member of the Matter Administrators security group
 - Personal - Returns matters which the authenticated user is a member of. Equivalent to the "My matters" view in LawVu
 - Intake - Returns all matters in the Intake queue. Requires the authenticated user to have the 'Manage intake' permission
 - Teams - Returns all matters that are accessible by teams that the authenticated user is a member of
 - Restricted - Returns restricted matters. Requires the authenticated user to be an Organization Administrator
 
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters
 - Production API
https://api.lawvu.com/matter-apis/v1/matters
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
No request payloadNo response example- application/json-patch+json
 - application/json
 - text/json
 - application/*+json
 
The update request (in jsonpatch format)
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/{matterId}
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/{matterId}
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
[ { "value": {}, "path": "string", "op": "string", "from": "string" } ]
- application/json-patch+json
 - application/json
 - text/json
 - application/*+json
 
Details about how to assign the user to the matter
The target of the assignment (Matter, MatterOwner or MatterManager)
Options:
- Matter
 - MatterOwner
 - MatterManager
 
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/{matterId}/users
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/{matterId}/users
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
{ "userId": "string", "target": "Matter", "note": "string" }
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/{matterId}/users
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/{matterId}/users
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
No request payloadNo response example- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/externalid/{externalId}
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/externalid/{externalId}
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
No request payload- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/{matterId}/fields
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/{matterId}/fields
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
No request payload{
  "detailFields": {
    "schema": {
      "properties": {
        "field_1": {
          "fieldId": 1,
          "title": "An example field name",
          "description": "Example field description",
          "lawvuType": 7,
          "isReadOnly": false,
          "type": "boolean",
          "label": ""
        }
      },
      "order": [
        "field_1"
      ],
      "required": [
        "field_1"
      ]
    },
    "model": {
      "field_1": true
    }
  },
  "coreFields": {
    "schema": null,
    "model": null
  }
}- application/json-patch+json
 - application/json
 - text/json
 - application/*+json
 
The update request (in jsonpatch format)
- Sandbox API
https://api-sandbox.lawvu.com/matter-apis/v1/matters/{matterId}/fields
 - Production API
https://api.lawvu.com/matter-apis/v1/matters/{matterId}/fields
 
- Payload
 - JavaScript
 - Node.js
 - C#
 - Python
 
{ "value": "new value", "path": "/field_string", "op": "replace" }