- Attorneys are company-scoped, reusable entities that can be associated with lawsuits
- An attorney can serve as plaintiff counsel (on a lawsuit) or defense counsel (on a defendant)
- Attorneys can optionally be linked to a law firm payee via
lawFirmId
API Endpoints
- List Attorneys - Retrieve paginated list of attorneys with filtering and sorting
- Create Attorney - Create a new attorney
- Get Attorney - Retrieve a single attorney by ID
- Update Attorney - Update an existing attorney
- Delete Attorney - Soft delete an attorney
Nullable Fields
The following fields may benull in the response:
| Field | When null |
|---|---|
email | Email not provided |
phoneNumber | Phone number not provided |
lawFirmId | No associated law firm |
createdAt | Timestamp not tracked (legacy records) |
updatedAt | Attorney has never been updated |
Filtering and Sorting
Filter Parameters
| Parameter | Type | Description |
|---|---|---|
id | string or array | Filter by specific attorney ID(s) |
filterText | string | Text search across attorney name |
Sorting Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
sortBy | string | createdAt | Field to sort by (createdAt, updatedAt, name) |
sortDirection | string | desc | Sort direction (asc or desc) |
Pagination
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number (1-based, page size 50) |
items- Array of attorneys for the current pagetotalCount- Total number of matching attorneys across all pages
Permissions
Access to attorneys requires the appropriate permissions based on your API key:| Operation | Required Permission |
|---|---|
| List Attorneys | company.attorney:read |
| Get Attorney | company.attorney:read |
| Create Attorney | company.attorney:create |
| Update Attorney | company.attorney:update |
| Delete Attorney | company.attorney:delete |
