---
canonical_url: "https://docs.composio.dev/toolkits/lawmatics"
markdown_url: "https://docs.composio.dev/toolkits/lawmatics.md"
product: "platform"
version: null
last_updated: null
---

# Lawmatics

Lawmatics is a legal client relationship management platform for intake, marketing automation, matters, tasks, appointments, and firm operations.

- **Category:** crm
- **Auth:** OAUTH2
- **Composio-managed OAuth available?** No
- **Tools:** 171
- **Triggers:** 0
- **Slug:** `LAWMATICS`
- **Version:** 00000000_00

## Tools

### Attach Tags

**Slug:** `LAWMATICS_ATTACH_TAGS`

Attach tags to one matter, contact, company, or task, or sequentially to 1-100 targets; missing tag names may be created. Batch execution is non-atomic: successful targets are not rolled back when another target fails, and each target receives a separate request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tags` | array | Yes | Tag names to attach. If a tag doesn't exist, it's created |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `targets` | array | No | Batch targets in request order. Use instead of all singular target ID fields. |
| `task_id` | string | No | Task ID for singular mode; omit when using targets. |
| `matter_id` | string | No | Matter ID for singular mode; omit when using targets. |
| `company_id` | string | No | Company ID for singular mode; omit when using targets. |
| `contact_id` | string | No | Contact ID for singular mode; omit when using targets. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Cancel Event

**Slug:** `LAWMATICS_CANCEL_EVENT`

Cancel an existing Lawmatics event by ID, optionally sending a cancellation notification to attendees.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `event_id` | string | Yes | ID of the event to cancel. |
| `notify_attendees` | boolean | No | Set true to send a cancellation notice; false is omitted so attendees are not notified. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Address

**Slug:** `LAWMATICS_CREATE_ADDRESS`

Create a Lawmatics address with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `city` | string | No | City. |
| `label` | string | Yes | Address label. |
| `state` | string | No | State or region. |
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `street` | string | Yes | Street address. |
| `country` | string | No | Country. |
| `street2` | string | No | Additional street address. |
| `zipcode` | string | No | Postal code. |
| `addressable_id` | integer | No | Associated record ID; required unless addressable_type is Firm. |
| `addressable_type` | string ("Prospect" | "Contact" | "Company" | "Firm" | "Matter") | Yes | Associated type: Prospect, Contact, Company, Firm, or Matter. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Collection

**Slug:** `LAWMATICS_CREATE_COLLECTION`

Create a Lawmatics collection with its documented custom field definitions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the collection to create. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `custom_fields` | array | Yes | Custom field definitions to attach to the collection. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Collection Item

**Slug:** `LAWMATICS_CREATE_COLLECTION_ITEM`

Create a Lawmatics collection item with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_id` | integer | Yes | ID of the collection receiving the item. |
| `contactable_id` | integer | Yes | ID of the associated Prospect. |
| `contactable_type` | string | Yes | Associated record type; Lawmatics accepts only Prospect. |
| `custom_field_values` | array | No | Custom field values to set on the item. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Company

**Slug:** `LAWMATICS_CREATE_COMPANY`

Create a Lawmatics company, link existing contacts, and optionally create linked addresses, email addresses, phone numbers, notes, and custom-field values.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `city` | string | No | City for the primary address. |
| `name` | string | Yes | Company name, which must be unique within the firm. |
| `email` | string | No | Primary linked email address. |
| `notes` | array | No | Notes to create for the company. |
| `phone` | string | No | Primary linked phone number. |
| `state` | string | No | State or region for the primary address. |
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `street` | string | No | Street for the primary address. |
| `country` | string | No | Country for the primary address. |
| `street2` | string | No | Additional street for the primary address. |
| `zipcode` | string | No | Postal code for the primary address. |
| `contact_ids` | array | No | Existing contacts to link; the first added becomes primary. |
| `custom_fields` | array | No | Company custom-field IDs and values; custom_field_values is accepted as an input alias. |
| `emails_attributes` | array | No | Additional linked email addresses. |
| `primary_contact_id` | integer | No | Existing contact to make the primary contact. |
| `addresses_attributes` | array | No | Additional linked addresses. |
| `phone_numbers_attributes` | array | No | Additional linked phone numbers. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Contact

**Slug:** `LAWMATICS_CREATE_CONTACT`

Create a Lawmatics contact with profile and custom-field values, optionally creating a primary address, linked email and phone records, notes, and matched or new tags.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `bio` | string | No | Bio to send to Lawmatics. |
| `city` | string | No | Creates the Contact's primary Address (label Primary) |
| `tags` | array | No | Tag names (matched to existing tags or created) |
| `email` | string | No | Creates a linked Email Address record |
| `notes` | array | No | Notes to send to Lawmatics. |
| `phone` | string | No | Creates a linked Phone Number record |
| `state` | string | No | Creates the Contact's primary Address (label Primary) |
| `title` | string | No | Title to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `gender` | string | No | In-app, this is a dropdown limited to Male/Female (or a longer list including Non Binary, Agender, Gender Fluid, Pangender, Two Spirit, Intersex, Other) |
| `street` | string | No | Creates the Contact's primary Address (label Primary) |
| `country` | string | No | Creates the Contact's primary Address (label Primary) |
| `hobbies` | string | No | Hobbies to send to Lawmatics. |
| `street2` | string | No | Creates the Contact's primary Address (label Primary) |
| `zipcode` | string | No | Creates the Contact's primary Address (label Primary) |
| `employer` | string | No | Employer to send to Lawmatics. |
| `timezone` | string | No | Should be a standard tz-database identifier |
| `birthdate` | string | No | ISO 8601, yyyy-mm-dd, ormm/dd/yyyy |
| `last_name` | string | No | Last Name to send to Lawmatics. |
| `created_at` | string | No | Allows backdating |
| `first_name` | string | Yes | First Name to send to Lawmatics. |
| `occupation` | string | No | Occupation to send to Lawmatics. |
| `updated_at` | string | No | Allows backdating |
| `citizenship` | string | No | Citizenship to send to Lawmatics. |
| `middle_name` | string | No | Middle Name to send to Lawmatics. |
| `name_prefix` | string | No | Name Prefix to send to Lawmatics. |
| `name_suffix` | string | No | Name Suffix to send to Lawmatics. |
| `unsubscribed` | boolean | No | Defaults to false |
| `created_by_id` | string | No | Allows attributing creation to another user |
| `custom_fields` | array | No | Custom Fields to send to Lawmatics. |
| `informal_name` | string | No | Informal Name to send to Lawmatics. |
| `driver_license` | string | No | Driver License to send to Lawmatics. |
| `marital_status` | string | No | In-app, this is a dropdown limited to Single, Married, Divorced, Separated, Widowed, Domestic Partnership |
| `social_security` | string | No | Social Security to send to Lawmatics. |
| `custom_contact_type_id` | string | No | Custom Contact Type Id to send to Lawmatics. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Custom Contact Type

**Slug:** `LAWMATICS_CREATE_CUSTOM_CONTACT_TYPE`

Create a Lawmatics custom contact type with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Must be unique per firm (case-sensitive; "vendor" and "Vendor" can coexist). |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Custom Field

**Slug:** `LAWMATICS_CREATE_CUSTOM_FIELD`

Create a Lawmatics custom field with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name to send to Lawmatics. |
| `type` | string ("Matter" | "Contact" | "Company") | Yes | One of Matter, Contact, Company |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `field_type` | string ("integer" | "boolean" | "string" | "text" | "currency" | "date" | "time" | "datetime" | "list" | "lookup" | "multi_picklist") | Yes | One of integer, boolean, string, text, currency, date, time, datetime, list, lookup, multi_picklist (must be lowercase) |
| `lookup_type` | string ("User" | "Contact" | "Company" | "Prospect") | No | Required if field_type is lookup. One of User, Contact, Company, Prospect |
| `list_options` | array | No | Required (2+ options) if field_type is list or multi_picklist; must be omitted for every other field_type |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Email Address

**Slug:** `LAWMATICS_CREATE_EMAIL_ADDRESS`

Create a Lawmatics email address with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `info` | string | Yes | Must match a valid email format. Automatically lowercased and stripped of whitespace. |
| `label` | string | Yes | Label to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `informationable_id` | string | No | Required for all informationable_type values except Firm |
| `informationable_type` | string ("Prospect" | "Contact" | "Company" | "Firm" | "Matter") | Yes | One of Prospect, Contact, Company, Firm (case-insensitive; matter also accepted). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Event

**Slug:** `LAWMATICS_CREATE_EVENT`

Create a Lawmatics event and optionally send invitations and configure attendee reminders.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `all_day` | boolean | No | Default false |
| `no_show` | boolean | No | Whether the attendee was marked as a no-show. |
| `end_date` | string | No | Required unless event_type_id is set — then it's derived from the event type's duration |
| `user_ids` | array | No | User(s) hosting the appointment. (users also works, but if both are sent user_ids wins) |
| `time_zone` | string | No | A valid tz identifier string; only validated if present |
| `start_date` | string | Yes | ISO 8601 datetime format |
| `description` | string | No | Description to send to Lawmatics. |
| `location_id` | string | No | Location Id to send to Lawmatics. |
| `eventable_id` | string | No | Id of the eventable_type is set |
| `send_invites` | boolean | No | Default false |
| `event_type_id` | string | Yes | Event Type Id to send to Lawmatics. |
| `reminder_type` | string ("minutes" | "hours" | "days" | "weeks") | No | One of minutes, hours, days, weeks |
| `eventable_type` | string ("Prospect" | "Contact" | "Matter") | No | One of Prospect, Contact (case-insensitive; matter also accepted) |
| `reminder_delay_length` | integer | No | Combined with reminder_type for how long to wait before sending a reminder |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Event Type

**Slug:** `LAWMATICS_CREATE_EVENT_TYPE`

Create a Lawmatics event type with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `duration` | integer | No | In minutes. Defaults to 30 if omitted |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Expense

**Slug:** `LAWMATICS_CREATE_EXPENSE`

Create a Lawmatics expense with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `user_id` | string | Yes | ID of the user attributed to the expense. |
| `billable` | boolean | No | Whether the expense is billable. |
| `quantity` | number | No | Expense quantity; defaults upstream to 0.0. |
| `cost_cents` | integer | No | Expense cost in cents. |
| `invoice_id` | string | No | Draft invoice ID to associate. |
| `description` | string | No | Expense description. |
| `expensed_at` | string | Yes | Expense date as ISO 8601 or a Unix timestamp. |
| `created_by_id` | string | Yes | ID of the user who created the expense. |
| `contactable_id` | string | Yes | ID of the record associated with the expense. |
| `contactable_type` | string ("Matter" | "Contact" | "Prospect") | Yes | Associated record type: Matter, Contact, or Prospect. |
| `billing_expense_type_id` | string | No | Associated billing expense type ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Folder

**Slug:** `LAWMATICS_CREATE_FOLDER`

Create a Lawmatics folder for a record, optionally creating a nested path.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Folder name. |
| `path` | array | No | Folder-name chain to find or create; overrides folder_id. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `folder_id` | string | No | Parent folder ID. |
| `created_at` | string | No | Optional ISO 8601 creation timestamp. |
| `documentable_id` | string | Yes | ID of the record that owns the folder. |
| `documentable_type` | string ("Matter" | "Prospect" | "Contact" | "Client" | "Company") | Yes | Type of record that owns the folder. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Interaction

**Slug:** `LAWMATICS_CREATE_INTERACTION`

Log a new interaction against a Lawmatics Matter.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | Non-blank interaction notes. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `happened_at` | string | No | ISO 8601 occurrence time; defaults to creation time when omitted. |
| `prospect_id` | string | Yes | ID of the Matter against which the interaction is logged. |
| `interaction_type` | string | Yes | Free-form interaction type; Lawmatics stores the value as supplied. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Matter

**Slug:** `LAWMATICS_CREATE_MATTER`

Create a Lawmatics matter (called a prospect by the API), updating an existing contact or creating one when needed, and associating an existing company or creating one by name. Also supports staff assignments, tags, custom fields, and notes; contact_id takes precedence over match_contact_by.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `bio` | string | No | Bio to send to Lawmatics. |
| `city` | string | No | Creates the Contact's primary Address (label Primary) |
| `name` | string | No | Contact full name used when match_contact_by is name. |
| `tags` | array | No | Tag names to attach. |
| `email` | string | No | Contact email used when match_contact_by is email. |
| `notes` | array | No | Notes to create with the matter. |
| `phone` | string | No | Contact phone used when match_contact_by is phone. |
| `state` | string | No | Creates the Contact's primary Address (label Primary) |
| `title` | string | No | Title to send to Lawmatics. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `gender` | string | No | In-app, this is a dropdown limited to Male/Female (or a longer list including Non Binary, Agender, Gender Fluid, Pangender, Two Spirit, Intersex, Other) |
| `status` | integer ("0" | "1" | "2") | No | Raw status: hired=0, pnc=1, lost=2. A sub_status_id overrides this value. |
| `street` | string | No | Creates the Contact's primary Address (label Primary) |
| `country` | string | No | Creates the Contact's primary Address (label Primary) |
| `hobbies` | string | No | Hobbies to send to Lawmatics. |
| `street2` | string | No | Creates the Contact's primary Address (label Primary) |
| `zipcode` | string | No | Creates the Contact's primary Address (label Primary) |
| `employer` | string | No | Employer to send to Lawmatics. |
| `stage_id` | string | No | Stage ID. |
| `timezone` | string | No | Should be a standard tz-database identifier |
| `birthdate` | string | No | ISO 8601, yyyy-mm-dd, ormm/dd/yyyy |
| `last_name` | string | No | Contact last name used or updated during matter creation. |
| `source_id` | string | No | Source ID. |
| `case_blurb` | string | No | Case or matter description. |
| `case_title` | string | No | Matter case title. |
| `company_id` | string | No | Existing Company ID. |
| `contact_id` | string | No | Existing Contact ID. This takes precedence over match_contact_by. |
| `created_at` | string | No | Backdated creation timestamp in ISO 8601 format. |
| `first_name` | string | No | Contact first name used or updated during matter creation. |
| `occupation` | string | No | Occupation to send to Lawmatics. |
| `updated_at` | string | No | Backdated update timestamp in ISO 8601 format. |
| `campaign_id` | string | No | Campaign ID. |
| `case_number` | string | No | Case number; must be unique per firm when provided. |
| `citizenship` | string | No | Citizenship to send to Lawmatics. |
| `middle_name` | string | No | Middle Name to send to Lawmatics. |
| `name_prefix` | string | No | Name Prefix to send to Lawmatics. |
| `name_suffix` | string | No | Name Suffix to send to Lawmatics. |
| `owned_by_id` | string | No | Owning user ID. |
| `company_name` | string | No | Company name to create or associate when company_id is omitted. |
| `unsubscribed` | boolean | No | Defaults to false |
| `created_by_id` | string | No | User ID to attribute creation to. |
| `custom_fields` | array | No | Custom field values to set. |
| `informal_name` | string | No | Informal Name to send to Lawmatics. |
| `sub_status_id` | string | No | Sub-status ID. When set, Lawmatics overwrites status to match it. |
| `converted_date` | string | No | Conversion date in ISO 8601 format. |
| `driver_license` | string | No | Driver License to send to Lawmatics. |
| `marital_status` | string | No | In-app, this is a dropdown limited to Single, Married, Divorced, Separated, Widowed, Domestic Partnership |
| `salesperson_id` | string | No | Salesperson user ID. |
| `lead_cost_cents` | integer | No | Lead cost in cents. |
| `social_security` | string | No | Social Security to send to Lawmatics. |
| `type_of_billing` | integer ("0" | "1" | "2") | No | Raw billing type: flat_fee=0, hourly=1, contingency=2. |
| `lead_attorney_id` | string | No | Lead attorney user ID. |
| `match_contact_by` | string ("email" | "name" | "phone") | No | Contact lookup field used only when contact_id is omitted and the matching contact fields are supplied. |
| `practice_area_id` | string | No | Practice area ID. |
| `actual_value_cents` | integer | No | Actual matter value in cents. |
| `assigned_staff_ids` | array | No | Staff IDs assigned after the matter is created. |
| `estimated_value_cents` | integer | No | Estimated matter value in cents. |
| `custom_contact_type_id` | string | No | Custom Contact Type Id to send to Lawmatics. |
| `originating_attorney_id` | string | No | Originating attorney user ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Note

**Slug:** `LAWMATICS_CREATE_NOTE`

Create a note on a Lawmatics matter/prospect, contact, client, or company.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | Note body. |
| `name` | string | Yes | Note name. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `created_at` | string | No | Backdated creation timestamp in ISO 8601 format. |
| `notable_id` | string | Yes | ID of the matter/prospect, contact, client, or company receiving the note. |
| `updated_at` | string | No | Backdated update timestamp in ISO 8601 format. |
| `notable_type` | string ("Prospect" | "Matter" | "Contact" | "Client" | "Company") | Yes | Record type receiving the note. Matter is accepted as an alias for Prospect. |
| `created_by_id` | string | No | User ID to attribute the note to; an unresolved ID silently falls back to the API user's ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Phone Number

**Slug:** `LAWMATICS_CREATE_PHONE_NUMBER`

Create a Lawmatics phone number using the documented multipart fields.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `info` | string | Yes | Phone number value. |
| `label` | string | Yes | Phone number label. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `informationable_id` | string | No | ID of the associated record; required unless informationable_type is Firm. |
| `informationable_type` | string ("Prospect" | "Contact" | "Company" | "Firm" | "Matter") | Yes | Type of record associated with the phone number: Prospect, Contact, Company, Firm, or Matter. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Practice Area

**Slug:** `LAWMATICS_CREATE_PRACTICE_AREA`

Create a Lawmatics practice area. Omitted color uses Lawmatics' default.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Unique practice area name within the firm. |
| `color` | string | No | Practice area color. Omit to use the database default; do not send null. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `statute_of_limitations_enabled` | boolean | No | Whether statute-of-limitations tracking is enabled; defaults to false. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Relationship

**Slug:** `LAWMATICS_CREATE_RELATIONSHIP`

Create a relationship between a Lawmatics matter (prospect) and a Contact.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `contact_id` | string | Yes | ID of the related Contact; companies are not accepted by this endpoint. |
| `prospect_id` | string | Yes | ID of the matter. Lawmatics calls matters prospects in this payload. |
| `relationship_type_id` | string | Yes | ID of the relationship type. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Relationship Type

**Slug:** `LAWMATICS_CREATE_RELATIONSHIP_TYPE`

Create a Lawmatics relationship type. is_repeatable and sync_email are presence flags: omit to disable; any supplied boolean enables.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Unique relationship type name within the firm. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sync_email` | boolean | No | Presence enables email sync, even when false; omission creates the record with email sync disabled. |
| `is_repeatable` | boolean | No | Presence enables repeatability, even when false; omit the field to leave it disabled. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Sub Status

**Slug:** `LAWMATICS_CREATE_SUB_STATUS`

Create a Lawmatics sub-status with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | No uniqueness validation - duplicate names within a firm are allowed (unlike Practice Areas/Relationship Types/Custom Contact Types, which do enforce it) |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `status` | string ("hired" | "pnc" | "lost") | No | One of hired, pnc, lost (case-insensitive). Defaults to pnc. Note: An invalid value here returns a 500, not a 422 |
| `created_by_id` | string | No | Defaults to the API token's user |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Tag

**Slug:** `LAWMATICS_CREATE_TAG`

Create a Lawmatics tag with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Whitespace is squished on save. Uniqueness is case-insensitive on the normalized value - "VIP" and "vip" collide |
| `color` | string | No | Rendered directly as a raw CSS background-color value, so any valid CSS color string works via this API (hex, rgb(), named colors, etc.) - not just hex. The app's own UI sets this through a separate color picker (click the colored dot on a tag chip, not the create form), restricted to a fixed 21-color preset palette: #FF8800, #FFB980, #C23D3D, #CE6464, #FFC017, #E3A500, #4397BE, #8FC1D8, #C72575, #E46EA9, #9E4487, #757F8F, #7997C9, #6519FA, #70B08B, #A8CA45, #EDBE30, #A7783B, #DE5E1C, #80231C, #F70303. Use one of these to visually match the app |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `created_at` | string | No | ISO 8601 |
| `updated_at` | string | No | ISO 8601 |
| `description` | string | No | Accepted by the API, but not currently surfaced anywhere in the app's own Tag UI |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Task

**Slug:** `LAWMATICS_CREATE_TASK`

Create a Lawmatics task with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `done` | boolean | No | Defaults to false |
| `name` | string | Yes | Name to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `tag_ids` | array | No | Same silent-ignore behavior as user_ids for unknown ids |
| `due_date` | string | Yes | ISO 8601. Required by this endpoint even though the column itself allows null |
| `priority` | string ("low" | "medium" | "high") | No | One of low (default), medium, high. Note: An invalid value returns a 500, not a 422 |
| `user_ids` | array | No | The Users assigned to this Task. Unknown/foreign ids are silently ignored, not an error |
| `created_at` | string | No | ISO 8601 |
| `updated_at` | string | No | ISO 8601 |
| `description` | string | No | Description to send to Lawmatics. |
| `taskable_id` | string | No | Required if taskable_type is set. Both can be left out entirely - the app itself supports creating a Task with nothing attached |
| `taskable_type` | string ("Prospect" | "Matter" | "Contact" | "Client" | "Company") | No | One of Prospect/Matter, Contact, Client, Company (case-insensitive) - all four are real, selectable options in the app's own "Associated With" picker |
| `assigned_by_id` | string | No | Not validated against your firm - an id from anywhere will be accepted |
| `task_status_id` | string | No | Task Status Id to send to Lawmatics. |
| `recurrence_rule` | object | No | Recurrence object keys and types: type is daily, weekly, monthly, or yearly; endOption is boolean; endDate and month are strings; frequency, monthlyFrequency, dayOfMonth, and dayOfMonthYear are numbers; sunday through saturday are booleans. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Task Comment

**Slug:** `LAWMATICS_CREATE_TASK_COMMENT`

Create a Lawmatics task comment and optionally notify users through @mentions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | No | Supports basic HTML tags for formatting (e.g. <b>, <i>) |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the comment belongs to. |
| `user_id` | string | Yes | The User the comment is attributed to |
| `created_at` | string | No | ISO 8601 |
| `updated_at` | string | No | ISO 8601 |
| `mentioned_user_ids` | array | No | Notifies these Users via an @mention. Unlike Tasks' user_ids/tag_ids, an invalid id here returns a clear 404 rather than being silently ignored |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Task Status

**Slug:** `LAWMATICS_CREATE_TASK_STATUS`

Create a Lawmatics task status with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | No validation on this model - technically optional, though a blank name isn't useful |
| `color` | string | No | No format validation at the API level, but the app's own color picker only offers a fixed palette: #000000, #757F8F, #7997C9, #6519FA, #1D196E, #70B08B, #A8CA45, #EDBE30, #A7783B, #DE5E1C, #80231C, #F70303, #9E4487, #DC438F, #5EB575, #27AE60, #E74C3C, #8E44AD, #16A085, #1F344C. Use one of these to match what the UI can produce |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `created_at` | string | No | ISO 8601 |
| `updated_at` | string | No | ISO 8601 |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Task Subtask

**Slug:** `LAWMATICS_CREATE_TASK_SUBTASK`

Create a Lawmatics task subtask with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | Not enforced by the API - you can technically omit it and get a blank subtask - but treat it as required, since a subtask without a description isn't useful |
| `done` | boolean | No | Defaults to false |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task to create the subtask under. |
| `created_at` | string | No | ISO 8601 |
| `updated_at` | string | No | ISO 8601 |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Time Entry

**Slug:** `LAWMATICS_CREATE_TIME_ENTRY`

Create a Lawmatics time entry with the supplied properties and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `user_id` | string | Yes | ID of the user who performed the work. |
| `billable` | boolean | No | Whether the time entry is billable. |
| `duration` | number | No | Total elapsed time in hours. |
| `invoice_id` | string | No | Draft invoice ID to associate. |
| `rate_cents` | integer | No | Hourly rate in cents. |
| `started_at` | string | No | Start time as ISO 8601 or a Unix timestamp. |
| `description` | string | No | Time-entry description. |
| `completed_at` | string | No | Completion time as ISO 8601 or a Unix timestamp. |
| `created_by_id` | string | Yes | ID of the user who created the time entry. |
| `rate_flat_fee` | boolean | No | Whether the time entry uses a flat fee. |
| `contactable_id` | string | No | ID of the matter associated with the time entry. |
| `contactable_type` | string ("Matter" | "Prospect" | "Contact") | No | Associated record type: Matter, Prospect, or Contact. |
| `show_flat_fee_duration` | boolean | No | Whether to show the flat-fee duration to the client. |
| `billing_activity_type_id` | string | No | Associated billing activity type ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Transaction

**Slug:** `LAWMATICS_CREATE_TRANSACTION`

Create a Lawmatics transaction using billing, account, payment, and refund fields. Lawmatics sends a receipt by default unless send_receipt is false.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No | Transaction note. |
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `invoice_id` | string | No | Related invoice ID; do not combine with invoice_number. |
| `executed_at` | string | Yes | Required ISO 8601 execution timestamp. |
| `amount_cents` | integer | Yes | Required transaction amount in cents. |
| `send_receipt` | boolean | No | Whether to send a receipt; Lawmatics defaults this to true. |
| `invoice_number` | string | No | Related invoice number; do not combine with invoice_id. |
| `payment_method` | string ("credit_card" | "check" | "cash" | "paypal" | "venmo" | "other" | "debit_card" | "ach" | "invoice_refund" | "trust_balance_transfer" | "trust_fund_request_refund" | "allocated_trust_payment" | "unallocated_trust_payment" | "withdrawal" | "surcharge_refund") | Yes | Payment method documented by Lawmatics; debit transactions are overridden to invoice_refund upstream. |
| `transactable_id` | string | Yes | ID of the billed Contact or Company. |
| `transaction_type` | string ("debit" | "credit") | Yes | Transaction type: debit or credit. |
| `bank_account_type` | string ("operating" | "trust") | Yes | Bank account type: operating or trust. |
| `transactable_type` | string ("Contact" | "Company") | Yes | Billed record type: Contact or Company (case-insensitive). |
| `refunded_transaction_id` | string | No | Existing credit transaction ID; required for debit transactions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create User

**Slug:** `LAWMATICS_CREATE_USER`

Create a Lawmatics user, or attach an existing user with the supplied email to the firm. This may consume a paid seat and may send an invitation email.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `role` | string | Yes | Exact name of an existing role in the Lawmatics firm. |
| `email` | string | Yes | Email address for the new or existing user. |
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `password` | string | Yes | Initial password used only to create the user; never repeat it in output. |
| `last_name` | string | Yes | User's last name. |
| `first_name` | string | Yes | User's first name. |
| `phone_number` | string | No | User's phone number. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Address

**Slug:** `LAWMATICS_DELETE_ADDRESS`

Permanently delete the specified Lawmatics address.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `address_id` | string | Yes | The address ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Collection

**Slug:** `LAWMATICS_DELETE_COLLECTION`

Permanently delete the specified Lawmatics collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_id` | string | Yes | The collection's unique ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Collection Item

**Slug:** `LAWMATICS_DELETE_COLLECTION_ITEM`

Permanently delete the specified Lawmatics collection item.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_item_id` | string | Yes | The collection item's unique ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Company

**Slug:** `LAWMATICS_DELETE_COMPANY`

Permanently delete the specified Lawmatics company.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `company_id` | string | Yes | The company ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Contact

**Slug:** `LAWMATICS_DELETE_CONTACT`

Permanently delete the specified Lawmatics contact.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `contact_id` | string | Yes | Contact identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Custom Contact Type

**Slug:** `LAWMATICS_DELETE_CUSTOM_CONTACT_TYPE`

Permanently delete the specified Lawmatics custom contact type.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `custom_contact_type_id` | string | Yes | Custom Contact Type identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Custom Field

**Slug:** `LAWMATICS_DELETE_CUSTOM_FIELD`

Permanently delete the specified Lawmatics custom field.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `custom_field_id` | string | Yes | Custom Field identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Email Address

**Slug:** `LAWMATICS_DELETE_EMAIL_ADDRESS`

Permanently delete the specified Lawmatics email address.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `email_address_id` | string | Yes | ID of the email address. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Event Type

**Slug:** `LAWMATICS_DELETE_EVENT_TYPE`

Permanently delete the specified Lawmatics event type.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `event_type_id` | string | Yes | Event Type identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Expense

**Slug:** `LAWMATICS_DELETE_EXPENSE`

Permanently delete the specified Lawmatics expense.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `expense_id` | string | Yes | ID of the expense to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete File

**Slug:** `LAWMATICS_DELETE_FILE`

Permanently delete a Lawmatics file.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `file_id` | string | Yes | ID of the Lawmatics file to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Folder

**Slug:** `LAWMATICS_DELETE_FOLDER`

Permanently delete a Lawmatics folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `folder_id` | string | Yes | ID of the Lawmatics folder to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Interaction

**Slug:** `LAWMATICS_DELETE_INTERACTION`

Permanently delete a Lawmatics interaction.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `interaction_id` | string | Yes | ID of the Lawmatics interaction to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Matter

**Slug:** `LAWMATICS_DELETE_MATTER`

Permanently delete a Lawmatics matter, represented as a prospect by the API.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `prospect_id` | string | Yes | ID of the matter; Lawmatics calls it a prospect ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Note

**Slug:** `LAWMATICS_DELETE_NOTE`

Permanently delete the specified Lawmatics note.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `note_id` | string | Yes | ID of the note to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Phone Number

**Slug:** `LAWMATICS_DELETE_PHONE_NUMBER`

Permanently delete the specified Lawmatics phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `phone_number_id` | string | Yes | The phone number ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Practice Area

**Slug:** `LAWMATICS_DELETE_PRACTICE_AREA`

Permanently delete a Lawmatics practice area.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `practice_area_id` | string | Yes | ID of the practice area to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Relationship

**Slug:** `LAWMATICS_DELETE_RELATIONSHIP`

Remove a Lawmatics relationship link without deleting either related record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `relationship_id` | string | Yes | ID of the relationship link to remove. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Sub Status

**Slug:** `LAWMATICS_DELETE_SUB_STATUS`

Permanently delete the specified Lawmatics sub-status.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sub_status_id` | string | Yes | Sub-status ID used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Tag

**Slug:** `LAWMATICS_DELETE_TAG`

Permanently delete the specified Lawmatics tag.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `tag_id` | string | Yes | Tag identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Task

**Slug:** `LAWMATICS_DELETE_TASK`

Permanently delete the specified Lawmatics task.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | Task identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Task Comment

**Slug:** `LAWMATICS_DELETE_TASK_COMMENT`

Permanently delete the specified Lawmatics task comment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the comment belongs to. |
| `comment_id` | string | Yes | ID of the task comment to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Task Status

**Slug:** `LAWMATICS_DELETE_TASK_STATUS`

Permanently delete the specified Lawmatics task status.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_status_id` | string | Yes | Task status ID used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Task Subtask

**Slug:** `LAWMATICS_DELETE_TASK_SUBTASK`

Permanently delete the specified Lawmatics task subtask.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the subtask belongs to. |
| `subtask_id` | string | Yes | ID of the subtask to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Time Entry

**Slug:** `LAWMATICS_DELETE_TIME_ENTRY`

Permanently delete the specified Lawmatics time entry.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `time_entry_id` | string | Yes | ID of the time entry to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete User

**Slug:** `LAWMATICS_DELETE_USER`

Dissociate the specified user from the connected Lawmatics firm, removing their access to that firm.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `user_id` | string | Yes | ID of the user to dissociate from the firm. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Detach Tags

**Slug:** `LAWMATICS_DETACH_TAGS`

Detach tags from one matter, contact, company, or task, or sequentially from 1-100 targets without deleting the tags. Batch execution is non-atomic: successful targets are not rolled back when another target fails, and each target receives a separate request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tags` | array | Yes | Tag names to detach. If a tag doesn't exist, it's ignored |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `targets` | array | No | Batch targets in request order. Use instead of all singular target ID fields. |
| `task_id` | string | No | Task ID for singular mode; omit when using targets. |
| `matter_id` | string | No | Matter ID for singular mode; omit when using targets. |
| `company_id` | string | No | Company ID for singular mode; omit when using targets. |
| `contact_id` | string | No | Contact ID for singular mode; omit when using targets. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Download File

**Slug:** `LAWMATICS_DOWNLOAD_FILE`

Download a Lawmatics file by ID and return it as a file-downloadable result.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | ID of the Lawmatics file to download. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Find Company

**Slug:** `LAWMATICS_FIND_COMPANY`

Find a Lawmatics company by an exact email address, company name, or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Nonblank email address, company name, or phone number to match. |
| `match_by` | string ("email" | "name" | "phone") | Yes | Company field to match: email, name, or phone. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Find Contact

**Slug:** `LAWMATICS_FIND_CONTACT`

Find a Lawmatics contact by an exact email address, contact name, or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Nonblank email address, contact name, or phone number to match. |
| `match_by` | string ("email" | "name" | "phone") | Yes | Contact field to match: email, name, or phone. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Find Matter

**Slug:** `LAWMATICS_FIND_MATTER`

Find a Lawmatics matter (prospect) by an exact email address, matter or contact name, or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Nonblank email address, matter or contact name, or phone number to match. |
| `match_by` | string ("email" | "name" | "phone") | Yes | Matter lookup field: email, name, or phone. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Activity

**Slug:** `LAWMATICS_GET_ACTIVITY`

Get the Lawmatics activity by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `activity_id` | string | Yes | ID of the activity to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Address

**Slug:** `LAWMATICS_GET_ADDRESS`

Get the Lawmatics address by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `address_id` | string | Yes | The address ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Campaign

**Slug:** `LAWMATICS_GET_CAMPAIGN`

Get the Lawmatics campaign by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `campaign_id` | string | Yes | The campaign ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Collection

**Slug:** `LAWMATICS_GET_COLLECTION`

Get the Lawmatics collection by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_id` | string | Yes | The collection's unique ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Collection Item

**Slug:** `LAWMATICS_GET_COLLECTION_ITEM`

Get the Lawmatics collection item by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_item_id` | string | Yes | The collection item's unique ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Company

**Slug:** `LAWMATICS_GET_COMPANY`

Get the Lawmatics company by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `company_id` | string | Yes | The company ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Contact

**Slug:** `LAWMATICS_GET_CONTACT`

Get the Lawmatics contact by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `contact_id` | string | Yes | Contact identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Current User

**Slug:** `LAWMATICS_GET_CURRENT_USER`

Return the authenticated Lawmatics user.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Custom Contact Type

**Slug:** `LAWMATICS_GET_CUSTOM_CONTACT_TYPE`

Get the Lawmatics custom contact type by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `custom_contact_type_id` | string | Yes | Custom Contact Type identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Custom Email

**Slug:** `LAWMATICS_GET_CUSTOM_EMAIL`

Get the Lawmatics custom email by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `custom_email_id` | string | Yes | Custom Email identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Custom Field

**Slug:** `LAWMATICS_GET_CUSTOM_FIELD`

Get the Lawmatics custom field by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `custom_field_id` | string | Yes | Custom Field identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Email Address

**Slug:** `LAWMATICS_GET_EMAIL_ADDRESS`

Get the Lawmatics email address by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `email_address_id` | string | Yes | ID of the email address. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Email Campaign

**Slug:** `LAWMATICS_GET_EMAIL_CAMPAIGN`

Get the Lawmatics email campaign by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Campaign identifier in TypeOfCampaign-id format. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Email Campaign Stats

**Slug:** `LAWMATICS_GET_EMAIL_CAMPAIGN_STATS`

Get per-recipient delivery, bounce, click, and open statistics for a non-recurring Lawmatics email campaign. Use an identifier in TypeOfCampaign-id format; recurring campaigns are not supported.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Campaign identifier in TypeOfCampaign-id format. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Event

**Slug:** `LAWMATICS_GET_EVENT`

Get the Lawmatics event by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `event_id` | string | Yes | Event identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Event Type

**Slug:** `LAWMATICS_GET_EVENT_TYPE`

Get the Lawmatics event type by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `event_type_id` | string | Yes | Event Type identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Expense

**Slug:** `LAWMATICS_GET_EXPENSE`

Get the Lawmatics expense by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `expense_id` | string | Yes | ID of the expense to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get File

**Slug:** `LAWMATICS_GET_FILE`

Return Lawmatics file metadata and a time-limited signed URL.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `file_id` | string | Yes | ID of the Lawmatics file. |
| `expires_in` | integer | No | Lifetime in seconds for the returned signed download URL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Folder

**Slug:** `LAWMATICS_GET_FOLDER`

Return a Lawmatics folder by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `folder_id` | string | Yes | ID of the Lawmatics folder. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Form

**Slug:** `LAWMATICS_GET_FORM`

Return a Lawmatics custom form and its configured fields by UUID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `custom_form_uuid` | string | Yes | UUID of the Lawmatics custom form. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Interaction

**Slug:** `LAWMATICS_GET_INTERACTION`

Return a Lawmatics interaction by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `interaction_id` | string | Yes | ID of the Lawmatics interaction. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Invoice

**Slug:** `LAWMATICS_GET_INVOICE`

Return a Lawmatics invoice by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `invoice_id` | string | Yes | ID of the Lawmatics invoice. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Matter

**Slug:** `LAWMATICS_GET_MATTER`

Return a Lawmatics matter by its prospect ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `prospect_id` | string | Yes | ID of the matter; Lawmatics calls it a prospect ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Note

**Slug:** `LAWMATICS_GET_NOTE`

Return a Lawmatics note by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `note_id` | string | Yes | ID of the note to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Phone Number

**Slug:** `LAWMATICS_GET_PHONE_NUMBER`

Get the Lawmatics phone number by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `phone_number_id` | string | Yes | The phone number ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Pipeline

**Slug:** `LAWMATICS_GET_PIPELINE`

Return a Lawmatics pipeline by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `pipeline_id` | string | Yes | ID of the pipeline to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Practice Area

**Slug:** `LAWMATICS_GET_PRACTICE_AREA`

Return a Lawmatics practice area by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `practice_area_id` | string | Yes | ID of the practice area to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Relationship

**Slug:** `LAWMATICS_GET_RELATIONSHIP`

Return a Lawmatics relationship by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `relationship_id` | string | Yes | ID of the relationship to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Relationship Type

**Slug:** `LAWMATICS_GET_RELATIONSHIP_TYPE`

Return a Lawmatics relationship type by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `relationship_type_id` | string | Yes | ID of the relationship type to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Source

**Slug:** `LAWMATICS_GET_SOURCE`

Get the Lawmatics source by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `source_id` | string | Yes | Source identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Stage

**Slug:** `LAWMATICS_GET_STAGE`

Get the Lawmatics stage by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `stage_id` | string | Yes | Stage identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Sub Status

**Slug:** `LAWMATICS_GET_SUB_STATUS`

Get the Lawmatics sub-status by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `status_id` | string | Yes | Sub-status ID used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Tag

**Slug:** `LAWMATICS_GET_TAG`

Get the Lawmatics tag by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `tag_id` | string | Yes | Tag identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Task

**Slug:** `LAWMATICS_GET_TASK`

Get the Lawmatics task by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | Task identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Task Comment

**Slug:** `LAWMATICS_GET_TASK_COMMENT`

Get the Lawmatics task comment by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the comment belongs to. |
| `comment_id` | string | Yes | ID of the task comment to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Task Status

**Slug:** `LAWMATICS_GET_TASK_STATUS`

Get the Lawmatics task status by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_status_id` | string | Yes | Task status ID used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Task Subtask

**Slug:** `LAWMATICS_GET_TASK_SUBTASK`

Get the Lawmatics task subtask by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the subtask belongs to. |
| `subtask_id` | string | Yes | ID of the subtask to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Time Entry

**Slug:** `LAWMATICS_GET_TIME_ENTRY`

Get the Lawmatics time entry by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `time_entry_id` | string | Yes | ID of the time entry to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Transaction

**Slug:** `LAWMATICS_GET_TRANSACTION`

Return a Lawmatics transaction by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `transaction_id` | string | Yes | ID of the Lawmatics transaction. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get User

**Slug:** `LAWMATICS_GET_USER`

Get the Lawmatics user by its identifier, including its attributes and relationships.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `user_id` | string | Yes | ID of the user to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Activities

**Slug:** `LAWMATICS_LIST_ACTIVITIES`

Return one page of Lawmatics activities, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `sort_by` | string | No | Field used to sort activities. |
| `filter_by` | string | No | Activity field or shortcut to filter on. |
| `filter_on` | string | No | Activity filter value. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; use ilike explicitly for partial activity-key matches. |
| `next_cursor` | string | No | Continuation cursor from the previous page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Addresses

**Slug:** `LAWMATICS_LIST_ADDRESSES`

Return one page of Lawmatics addresses, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Campaigns

**Slug:** `LAWMATICS_LIST_CAMPAIGNS`

Return one page of Lawmatics campaigns, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Collections

**Slug:** `LAWMATICS_LIST_COLLECTIONS`

Return one page of Lawmatics collections, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Collection Items

**Slug:** `LAWMATICS_LIST_COLLECTION_ITEMS`

Return one page of Lawmatics collection items, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Companies

**Slug:** `LAWMATICS_LIST_COMPANIES`

Return one page of Lawmatics companies, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; company filters include name, primary_contact_id, and matter_status. |
| `filter_on` | string | No | Filter value; matter_status uses 0=no matters, 1=hired, 2=lost, or 3=PNC. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Contacts

**Slug:** `LAWMATICS_LIST_CONTACTS`

Return one page of Lawmatics contacts, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Custom Contact Types

**Slug:** `LAWMATICS_LIST_CUSTOM_CONTACT_TYPES`

Return one page of Lawmatics custom contact types, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Custom Emails

**Slug:** `LAWMATICS_LIST_CUSTOM_EMAILS`

Return one page of Lawmatics custom emails, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Custom Fields

**Slug:** `LAWMATICS_LIST_CUSTOM_FIELDS`

Return one page of Lawmatics custom fields, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `sort_by` | string | No | Custom-field property used to sort results. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction: asc or desc. |
| `next_cursor` | string | No | Continuation cursor from a previous response's next_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Email Addresses

**Slug:** `LAWMATICS_LIST_EMAIL_ADDRESSES`

Return one page of Lawmatics email addresses, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Email Campaigns

**Slug:** `LAWMATICS_LIST_EMAIL_CAMPAIGNS`

Return one page of Lawmatics email campaigns, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Events

**Slug:** `LAWMATICS_LIST_EVENTS`

Return one page of Lawmatics events, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Event Types

**Slug:** `LAWMATICS_LIST_EVENT_TYPES`

Return one page of Lawmatics event types, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Event-type field used to sort results. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction: asc or desc. |
| `next_cursor` | string | No | Continuation cursor from a previous response's next_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Expenses

**Slug:** `LAWMATICS_LIST_EXPENSES`

Return one page of Lawmatics expenses, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `sort_by` | string | No | Field used to sort expenses. |
| `filter_by` | string | No | Single expense field to filter on. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Files

**Slug:** `LAWMATICS_LIST_FILES`

Return one page of Lawmatics files, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort the files. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Folders

**Slug:** `LAWMATICS_LIST_FOLDERS`

Return one page of Lawmatics folders, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort the folders. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `matter_id` | string | No | Return folders associated with this matter ID. |
| `contact_id` | string | No | Return folders associated with this contact ID. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `prospect_id` | string | No | Return folders associated with this prospect ID. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Forms

**Slug:** `LAWMATICS_LIST_FORMS`

List Lawmatics custom forms and their configured rows, components, and selectable options.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Form Entries

**Slug:** `LAWMATICS_LIST_FORM_ENTRIES`

Return one page of entries submitted to a Lawmatics custom form.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort form entries. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |
| `custom_form_uuid` | string | Yes | UUID of the Lawmatics custom form. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Interactions

**Slug:** `LAWMATICS_LIST_INTERACTIONS`

Return one page of Lawmatics interactions, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort interactions. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Invoices

**Slug:** `LAWMATICS_LIST_INVOICES`

Return one page of Lawmatics invoices, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort invoices. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Locations

**Slug:** `LAWMATICS_LIST_LOCATIONS`

Return one page of Lawmatics locations, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Matters

**Slug:** `LAWMATICS_LIST_MATTERS`

Return one page of Lawmatics matters. Lawmatics calls matters prospects in API paths and payloads.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort matters; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to =, or ilike for strings. |
| `next_cursor` | string | No | Continuation cursor from the previous page; omit for page 1. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Notes

**Slug:** `LAWMATICS_LIST_NOTES`

Return one page of Lawmatics notes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort notes; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to =, or ilike for strings. |
| `next_cursor` | string | No | Continuation cursor from the previous page; omit for page 1. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Phone Numbers

**Slug:** `LAWMATICS_LIST_PHONE_NUMBERS`

Return one page of Lawmatics phone numbers, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort results; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Pipelines

**Slug:** `LAWMATICS_LIST_PIPELINES`

Return one page of Lawmatics pipelines.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort pipelines; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to =, or ilike for strings. |
| `next_cursor` | string | No | Continuation cursor from the previous page; omit for page 1. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Practice Areas

**Slug:** `LAWMATICS_LIST_PRACTICE_AREAS`

Return one page of Lawmatics practice areas.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort practice areas; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to =, or ilike for strings. |
| `next_cursor` | string | No | Continuation cursor from the previous page; omit for page 1. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Relationships

**Slug:** `LAWMATICS_LIST_RELATIONSHIPS`

Return one page of links between Lawmatics matters and contacts.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort relationships; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to =, or ilike for strings. |
| `next_cursor` | string | No | Continuation cursor from the previous page; omit for page 1. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Relationship Types

**Slug:** `LAWMATICS_LIST_RELATIONSHIP_TYPES`

Return one page of Lawmatics relationship types.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sort_by` | string | No | Field used to sort relationship types; defaults to id. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to =, or ilike for strings. |
| `next_cursor` | string | No | Continuation cursor from the previous page; omit for page 1. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Sources

**Slug:** `LAWMATICS_LIST_SOURCES`

Return one page of Lawmatics sources, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Stages

**Slug:** `LAWMATICS_LIST_STAGES`

Return one page of Lawmatics stages, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Sub Statuses

**Slug:** `LAWMATICS_LIST_SUB_STATUSES`

Return one page of Lawmatics sub-statuses, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Tags

**Slug:** `LAWMATICS_LIST_TAGS`

Return one page of Lawmatics tags, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Tasks

**Slug:** `LAWMATICS_LIST_TASKS`

Return one page of Lawmatics tasks, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Task Comments

**Slug:** `LAWMATICS_LIST_TASK_COMMENTS`

Return one page of Lawmatics task comments with sorting and a continuation cursor. Filtering is intentionally omitted because the provider's filter_by handling is currently unreliable.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Task-comment field used to sort results. |
| `task_id` | string | Yes | ID of the parent task whose comments to list. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction: asc or desc. |
| `next_cursor` | string | No | Continuation cursor from a previous response's next_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Task Statuses

**Slug:** `LAWMATICS_LIST_TASK_STATUSES`

Return one page of Lawmatics task statuses, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Sort field; defaults to id (created_at, updated_at, and most exposed fields are supported). |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omitted for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction; defaults to descending. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator; defaults to = (or ilike for strings). |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Task Subtasks

**Slug:** `LAWMATICS_LIST_TASK_SUBTASKS`

Return one page of Lawmatics task subtasks with sorting. A continuation cursor is returned when another page may exist. Filtering is intentionally omitted because the provider's filter_by handling is currently unreliable.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `sort_by` | string | No | Subtask field used to sort results. |
| `task_id` | string | Yes | ID of the parent task whose subtasks to list. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction: asc or desc. |
| `next_cursor` | string | No | Continuation cursor from a previous response's next_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Time Entries

**Slug:** `LAWMATICS_LIST_TIME_ENTRIES`

Return one page of Lawmatics time entries, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `sort_by` | string | No | Field used to sort time entries. |
| `filter_by` | string | No | Single time-entry field to filter on. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Transactions

**Slug:** `LAWMATICS_LIST_TRANSACTIONS`

Return one page of Lawmatics transactions, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `sort_by` | string | No | Field used to sort transactions. |
| `filter_by` | string | No | Single field to filter on; association fields use an _id suffix. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor returned by the previous call; omit for the first page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Users

**Slug:** `LAWMATICS_LIST_USERS`

Return one page of Lawmatics users, with a continuation cursor when another page is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `sort_by` | string | No | Field used to sort users. |
| `filter_by` | string | No | Single user field to filter on; role is not filterable. |
| `filter_on` | string | No | Filter value; omit for presence operators. |
| `sort_order` | string ("asc" | "desc") | No | Sort direction. |
| `filter_with` | string ("=" | "!=" | "<=" | "<" | ">=" | ">" | "like" | "ilike" | "null" | "not_null" | "empty" | "present" | "blank") | No | Filter operator. |
| `next_cursor` | string | No | Continuation cursor from the previous page. |
| `updated_only` | boolean | No | Set true to return only resources updated since the provider's rolling cutoff; false is omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Submit Form Entry

**Slug:** `LAWMATICS_SUBMIT_FORM_ENTRY`

Submit values to a public Lawmatics custom form without forwarding OAuth. The submission creates an entry and can trigger automations configured for that form.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `field_values` | object | Yes | Form values keyed by the field UUID or key shown in the form builder's API Details panel. |
| `custom_form_uuid` | string | Yes | UUID of the public Lawmatics custom form. |
| `body_content_type` | string ("application/json" | "multipart/form-data") | No | Serialization format for the form values. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Address

**Slug:** `LAWMATICS_UPDATE_ADDRESS`

Update mutable properties of an existing Lawmatics address and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `city` | string | No | Updated city. |
| `label` | string | No | Updated address label. |
| `state` | string | No | Updated state or region. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `street` | string | No | Updated street address. |
| `country` | string | No | Updated country. |
| `street2` | string | No | Updated additional street address. |
| `address_id` | string | Yes | The address ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Collection

**Slug:** `LAWMATICS_UPDATE_COLLECTION`

Update the custom fields associated with a Lawmatics collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_id` | string | Yes | The collection's unique ID. |
| `custom_fields` | array | Yes | Custom fields to associate with the collection. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Collection Item

**Slug:** `LAWMATICS_UPDATE_COLLECTION_ITEM`

Update an existing Lawmatics collection item's custom field values.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `collection_item_id` | string | Yes | The collection item's unique ID. |
| `custom_field_values` | array | Yes | Custom field values to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Company

**Slug:** `LAWMATICS_UPDATE_COMPANY`

Update a Lawmatics company's name, primary contact, primary address, and custom fields; it can also change linked contacts and create linked addresses, email addresses, phone numbers, and notes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `city` | string | No | Updated primary city. |
| `name` | string | No | Updated company name. |
| `email` | string | No | Updated primary email address. |
| `notes` | array | No | Notes to create for the company. |
| `phone` | string | No | Updated primary phone number. |
| `state` | string | No | Updated primary state or region. |
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `street` | string | No | Updated primary street. |
| `country` | string | No | Updated primary country. |
| `street2` | string | No | Updated additional primary street. |
| `zipcode` | string | No | Updated primary postal code. |
| `company_id` | string | Yes | The company ID. |
| `contact_ids` | array | No | Existing contacts to link; the first added becomes primary. |
| `custom_fields` | array | No | Company custom-field IDs and values; custom_field_values is accepted as an input alias. |
| `emails_attributes` | array | No | Linked email address updates. |
| `primary_contact_id` | integer | No | Existing contact to make the primary contact. |
| `addresses_attributes` | array | No | Linked address updates. |
| `phone_numbers_attributes` | array | No | Linked phone number updates. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Contact

**Slug:** `LAWMATICS_UPDATE_CONTACT`

Update a Lawmatics contact's profile and custom fields, optionally creating a primary address, linked email and phone records, notes, and tags. Supplied tag names are matched to existing tags or created.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `bio` | string | No | Bio to send to Lawmatics. |
| `city` | string | No | Creates the Contact's primary Address (label Primary) |
| `tags` | array | No | Tag names (matched to existing tags or created) |
| `email` | string | No | Creates a linked Email Address record |
| `notes` | array | No | Notes to send to Lawmatics. |
| `phone` | string | No | Creates a linked Phone Number record |
| `state` | string | No | Creates the Contact's primary Address (label Primary) |
| `title` | string | No | Title to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `gender` | string | No | In-app, this is a dropdown limited to Male/Female (or a longer list including Non Binary, Agender, Gender Fluid, Pangender, Two Spirit, Intersex, Other) |
| `street` | string | No | Creates the Contact's primary Address (label Primary) |
| `country` | string | No | Creates the Contact's primary Address (label Primary) |
| `hobbies` | string | No | Hobbies to send to Lawmatics. |
| `street2` | string | No | Creates the Contact's primary Address (label Primary) |
| `zipcode` | string | No | Creates the Contact's primary Address (label Primary) |
| `employer` | string | No | Employer to send to Lawmatics. |
| `timezone` | string | No | Should be a standard tz-database identifier |
| `birthdate` | string | No | ISO 8601, yyyy-mm-dd, ormm/dd/yyyy |
| `last_name` | string | No | Last Name to send to Lawmatics. |
| `contact_id` | string | Yes | Contact identifier used in the request path. |
| `created_at` | string | No | Allows backdating |
| `first_name` | string | No | Updated contact first name. |
| `occupation` | string | No | Occupation to send to Lawmatics. |
| `updated_at` | string | No | Allows backdating |
| `citizenship` | string | No | Citizenship to send to Lawmatics. |
| `middle_name` | string | No | Middle Name to send to Lawmatics. |
| `name_prefix` | string | No | Name Prefix to send to Lawmatics. |
| `name_suffix` | string | No | Name Suffix to send to Lawmatics. |
| `unsubscribed` | boolean | No | Defaults to false |
| `created_by_id` | string | No | Allows attributing creation to another user |
| `custom_fields` | array | No | Custom Fields to send to Lawmatics. |
| `informal_name` | string | No | Informal Name to send to Lawmatics. |
| `driver_license` | string | No | Driver License to send to Lawmatics. |
| `marital_status` | string | No | In-app, this is a dropdown limited to Single, Married, Divorced, Separated, Widowed, Domestic Partnership |
| `social_security` | string | No | Social Security to send to Lawmatics. |
| `custom_contact_type_id` | string | No | Custom Contact Type Id to send to Lawmatics. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Custom Contact Type

**Slug:** `LAWMATICS_UPDATE_CUSTOM_CONTACT_TYPE`

Update mutable properties of an existing Lawmatics custom contact type and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `custom_contact_type_id` | string | Yes | ID of the custom contact type to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Custom Field

**Slug:** `LAWMATICS_UPDATE_CUSTOM_FIELD`

Update mutable properties of an existing Lawmatics custom field and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name to send to Lawmatics. |
| `type` | string ("Matter" | "Contact" | "Company") | No | One of Matter, Contact, Company. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `field_type` | string ("integer" | "boolean" | "string" | "text" | "currency" | "date" | "time" | "datetime" | "list" | "lookup" | "multi_picklist") | No | One of integer, boolean, string, text, currency, date, time, datetime, list, lookup, multi_picklist (must be lowercase). |
| `lookup_type` | string ("User" | "Contact" | "Company" | "Prospect") | No | Lookup resource type: User, Contact, Company, or Prospect. |
| `list_options` | array | No | List Options to send to Lawmatics. |
| `custom_field_id` | string | Yes | Custom Field identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Email Address

**Slug:** `LAWMATICS_UPDATE_EMAIL_ADDRESS`

Update an existing Lawmatics email address's label, value, or associated record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `info` | string | No | Updated email address value. |
| `label` | string | No | Updated email address label. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `email_address_id` | string | Yes | ID of the email address. |
| `informationable_id` | string | No | Updated owner record ID for the email address. |
| `informationable_type` | string ("Prospect" | "Contact" | "Company" | "Firm" | "Matter") | No | Updated owner type for the email address. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Event

**Slug:** `LAWMATICS_UPDATE_EVENT`

Update the documented scheduling, association, reminder, invitation, or no-show fields of a Lawmatics event.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Updated event name. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `all_day` | boolean | No | Whether the event lasts all day. |
| `no_show` | boolean | No | Whether the attendee was a no-show. |
| `end_date` | string | No | Updated event end date or datetime. |
| `event_id` | string | Yes | Event identifier used in the request path. |
| `user_ids` | array | No | User IDs hosting the event. |
| `time_zone` | string | No | Event time zone identifier. |
| `start_date` | string | No | Updated event start date or datetime. |
| `description` | string | No | Updated event description. |
| `location_id` | string | No | Event location ID. |
| `eventable_id` | string | No | ID of the record associated with the event. |
| `send_invites` | boolean | No | Whether Lawmatics sends event invitations. |
| `event_type_id` | string | No | Event type ID. |
| `reminder_type` | string ("minutes" | "hours" | "days" | "weeks") | No | Unit for reminder_delay_length. |
| `eventable_type` | string ("Prospect" | "Contact" | "Matter") | No | Type of record associated with the event. |
| `reminder_delay_length` | integer | No | Reminder delay length. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Event Type

**Slug:** `LAWMATICS_UPDATE_EVENT_TYPE`

Update mutable properties of an existing Lawmatics event type and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `duration` | integer | No | Duration to send to Lawmatics. |
| `event_type_id` | string | Yes | Event Type identifier used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Expense

**Slug:** `LAWMATICS_UPDATE_EXPENSE`

Update mutable properties of an existing Lawmatics expense and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `billable` | boolean | No | Whether the expense is billable. |
| `expense_id` | string | Yes | ID of the expense to update. |
| `description` | string | No | Updated expense description. |
| `contactable_id` | string | No | Updated associated record ID. |
| `contactable_type` | string ("Matter" | "matter" | "Contact" | "contact" | "Prospect" | "prospect") | No | Updated associated record type: Matter, Prospect, or Contact; lowercase variants are accepted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update File Metadata

**Slug:** `LAWMATICS_UPDATE_FILE_METADATA`

Update a Lawmatics file's owning record, display name, stored file name, or folder. For a supplied folder path, Lawmatics finds or creates the path and overrides folder_id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | File display name. |
| `path` | array | No | Folder-name path to find or create; overrides folder_id. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `file_id` | string | Yes | ID of the Lawmatics file to update. |
| `file_name` | string | No | Stored file name, including its extension. |
| `folder_id` | string | No | Containing folder ID. |
| `documentable_id` | string | No | ID of the record to which the file belongs. |
| `documentable_type` | string | No | Type of record to which the file belongs. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Folder

**Slug:** `LAWMATICS_UPDATE_FOLDER`

Update a Lawmatics folder's owning record, name, or parent placement. For a supplied path, Lawmatics finds or creates the path, moves the folder beneath its final folder, and overrides parent_folder_id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Unique folder name; Lawmatics replaces '/' with ':'. |
| `path` | array | No | Folder-name path to find or create; moves this folder under the final path folder and overrides parent_folder_id. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `folder_id` | string | Yes | ID of the Lawmatics folder to update. |
| `documentable_id` | string | No | ID of the record that owns the folder. |
| `parent_folder_id` | string | No | Parent folder ID when moving this folder under another folder. |
| `documentable_type` | string ("matter" | "contact") | No | Type of record that owns the folder: matter or contact. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Interaction

**Slug:** `LAWMATICS_UPDATE_INTERACTION`

Update the time, notes, or type of a Lawmatics interaction.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | No | Updated interaction notes. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `happened_at` | string | No | Updated occurrence time. |
| `interaction_id` | string | Yes | ID of the Lawmatics interaction to update. |
| `interaction_type` | string | No | Updated free-form interaction type. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Matter

**Slug:** `LAWMATICS_UPDATE_MATTER`

Update a Lawmatics matter (represented as a prospect by the API), including its contact details, staff assignments, tags, custom fields, newly added notes, case status and ownership, practice area, stage, attorneys, and monetary values.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tags` | array | No | Replacement tag names. |
| `email` | string | No | Updated contact email. |
| `notes` | array | No | Notes to add while updating the matter. |
| `phone` | string | No | Updated contact phone. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `status` | integer ("0" | "1" | "2") | No | Raw matter status: hired=0, pnc=1, lost=2. |
| `stage_id` | string | No | Updated pipeline stage ID. |
| `last_name` | string | No | Updated contact last name. |
| `case_title` | string | No | Updated case title. |
| `first_name` | string | No | Updated contact first name. |
| `owned_by_id` | string | No | Updated owning user ID. |
| `prospect_id` | string | Yes | ID of the matter; Lawmatics calls it a prospect ID. |
| `custom_fields` | array | No | Matter custom-field IDs and replacement values. |
| `sub_status_id` | string | No | Updated matter sub-status ID. |
| `lead_cost_cents` | integer | No | Updated acquisition cost in cents. |
| `lead_attorney_id` | string | No | Updated lead attorney user ID. |
| `practice_area_id` | string | No | Updated practice-area ID. |
| `actual_value_cents` | integer | No | Updated actual matter value in cents. |
| `assigned_staff_ids` | array | No | Replacement assigned staff IDs. |
| `estimated_value_cents` | integer | No | Updated estimated matter value in cents. |
| `originating_attorney_id` | string | No | Updated originating attorney user ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Note

**Slug:** `LAWMATICS_UPDATE_NOTE`

Update a Lawmatics note's name, body, owning record, attributed creator, or creation and update timestamps.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | No | Updated note body. |
| `name` | string | No | Updated note name. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `note_id` | string | Yes | ID of the note to update. |
| `created_at` | string | No | Backdated note creation timestamp. |
| `notable_id` | string | No | ID of the resource the note belongs to. |
| `updated_at` | string | No | Backdated note update timestamp. |
| `notable_type` | string ("Prospect" | "Matter" | "Contact" | "Client" | "Company") | No | Type of resource the note belongs to: Prospect, Matter, Contact, Client, or Company. |
| `created_by_id` | string | No | User ID credited with creating the note. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Phone Number

**Slug:** `LAWMATICS_UPDATE_PHONE_NUMBER`

Update a Lawmatics phone number's value or associated record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `info` | string | No | Updated phone number value. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `phone_number_id` | string | Yes | The phone number ID. |
| `informationable_id` | string | No | Updated owner record ID for the phone number. |
| `informationable_type` | string ("Prospect" | "Contact" | "Company" | "Firm" | "Matter") | No | Updated owner type for the phone number. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Practice Area

**Slug:** `LAWMATICS_UPDATE_PRACTICE_AREA`

Update mutable properties of a Lawmatics practice area.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Updated practice area name. |
| `color` | string | No | Updated practice area color; omit rather than sending null. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `practice_area_id` | string | Yes | ID of the practice area to update. |
| `statute_of_limitations_enabled` | boolean | No | Updated statute-of-limitations tracking setting. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Relationship

**Slug:** `LAWMATICS_UPDATE_RELATIONSHIP`

Update the matter, contact, or type on a Lawmatics relationship.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `contact_id` | string | No | Updated related Contact ID. |
| `prospect_id` | string | No | Updated matter ID; Lawmatics calls it a prospect ID. |
| `relationship_id` | string | Yes | ID of the relationship to update. |
| `relationship_type_id` | string | No | Updated relationship type ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Relationship Type

**Slug:** `LAWMATICS_UPDATE_RELATIONSHIP_TYPE`

Update a Lawmatics relationship type's name, email synchronization behavior, or repeatability.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Updated relationship type name. |
| `fields` | string | No | Comma-separated fields or relationships to return, or 'all'. |
| `sync_email` | boolean | No | Whether email should synchronize across this relationship. |
| `is_repeatable` | boolean | No | Whether this relationship type can be applied repeatedly. |
| `relationship_type_id` | string | Yes | ID of the relationship type to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Sub Status

**Slug:** `LAWMATICS_UPDATE_SUB_STATUS`

Update mutable properties of an existing Lawmatics sub-status and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `status` | string ("hired" | "pnc" | "lost") | No | Matter status category for this sub-status. |
| `created_by_id` | string | No | User ID credited with creating the sub-status. |
| `sub_status_id` | string | Yes | Sub-status ID used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Tag

**Slug:** `LAWMATICS_UPDATE_TAG`

Update mutable properties of an existing Lawmatics tag and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name to send to Lawmatics. |
| `color` | string | No | Rendered directly as a raw CSS background-color value - any valid CSS color string works via this API (hex, rgb(), named colors, etc.), not just hex. The app's own UI sets this through a separate color picker (click the colored dot on a tag chip, not the create form), restricted to a fixed 21-color preset palette: #FF8800, #FFB980, #C23D3D, #CE6464, #FFC017, #E3A500, #4397BE, #8FC1D8, #C72575, #E46EA9, #9E4487, #757F8F, #7997C9, #6519FA, #70B08B, #A8CA45, #EDBE30, #A7783B, #DE5E1C, #80231C, #F70303. Use one of these to visually match the app |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `tag_id` | string | Yes | Tag identifier used in the request path. |
| `description` | string | No | Accepted by the API, but not currently surfaced anywhere in the app's own Tag UI |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Task

**Slug:** `LAWMATICS_UPDATE_TASK`

Update any documented field of an existing Lawmatics task; all update fields are optional.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `done` | boolean | No | Whether the task is complete. |
| `name` | string | No | Updated task name. |
| `fields` | string | No | Fields Query to send to Lawmatics. |
| `tag_ids` | array | No | Tag IDs assigned to the task. |
| `task_id` | string | Yes | Task identifier used in the request path. |
| `due_date` | string | No | Updated task due date. |
| `priority` | string ("low" | "medium" | "high") | No | Updated task priority. |
| `user_ids` | array | No | User IDs assigned to the task. |
| `description` | string | No | Updated task description. |
| `taskable_id` | string | No | Updated associated record ID. |
| `taskable_type` | string ("Prospect" | "Matter" | "Contact" | "Client" | "Company") | No | Updated associated record type. |
| `assigned_by_id` | string | No | Updated assigning user ID. |
| `task_status_id` | string | No | Updated task status ID. |
| `recurrence_rule` | object | No | Updated task recurrence rule. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Task Comment

**Slug:** `LAWMATICS_UPDATE_TASK_COMMENT`

Update a Lawmatics task comment's body, attributed user, or mentioned users.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | No | Updated task comment body. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the comment belongs to. |
| `user_id` | string | No | User ID to attribute the updated comment to. |
| `comment_id` | string | Yes | ID of the task comment to update. |
| `mentioned_user_ids` | array | No | User IDs to mention in the updated comment. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Task Status

**Slug:** `LAWMATICS_UPDATE_TASK_STATUS`

Update mutable properties of an existing Lawmatics task status and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name to send to Lawmatics. |
| `color` | string | No | Color to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_status_id` | string | Yes | Task status ID used in the request path. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Task Subtask

**Slug:** `LAWMATICS_UPDATE_TASK_SUBTASK`

Update mutable properties of an existing Lawmatics task subtask and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | No | Body to send to Lawmatics. |
| `done` | boolean | No | Done to send to Lawmatics. |
| `fields` | string | No | Comma-separated attributes/relationships to return, or 'all'; supports one relationship level. |
| `task_id` | string | Yes | ID of the parent task that the subtask belongs to. |
| `subtask_id` | string | Yes | ID of the subtask to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Time Entry

**Slug:** `LAWMATICS_UPDATE_TIME_ENTRY`

Update mutable properties of an existing Lawmatics time entry and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `user_id` | string | No | ID of the user who performed the work. |
| `billable` | boolean | No | Whether the time entry is billable. |
| `duration` | number | No | Total elapsed time in hours. |
| `invoice_id` | string | No | Draft invoice ID to associate. |
| `rate_cents` | integer | No | Hourly rate in cents. |
| `started_at` | string | No | Start time as a Unix timestamp. |
| `description` | string | No | Updated time-entry description. |
| `completed_at` | string | No | Completion time as a Unix timestamp. |
| `created_by_id` | string | No | ID of the user who created the time entry. |
| `rate_flat_fee` | boolean | No | Flat-fee setting documented by Lawmatics. |
| `time_entry_id` | string | Yes | ID of the time entry to update. |
| `contactable_id` | string | No | Associated record ID. |
| `contactable_type` | string ("Matter" | "matter" | "Prospect" | "prospect" | "Contact" | "contact") | No | Associated record type: Matter, Prospect, or Contact; lowercase variants are accepted. |
| `show_flat_fee_duration` | boolean | No | Whether to show the flat-fee duration. |
| `billing_activity_type_id` | string | No | Associated billing activity type ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update User

**Slug:** `LAWMATICS_UPDATE_USER`

Update mutable properties of an existing Lawmatics user and return the resulting resource.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | No | Updated email address. |
| `fields` | string | No | Fields to return, comma-separated, or 'all'. |
| `user_id` | string | Yes | ID of the user to update. |
| `last_name` | string | No | Updated last name. |
| `first_name` | string | No | Updated first name. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Upload File

**Slug:** `LAWMATICS_UPLOAD_FILE`

Upload a file to a Lawmatics firm, client, matter, or contact, optionally setting its display name and placing it in an existing folder or a folder path that Lawmatics finds or creates. A path overrides folder_id. Lawmatics allows files up to 1 GiB and recommends avoiding files over 100 MiB.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `file` | object | Yes | File to upload to Lawmatics. |
| `name` | string | No | File display name; defaults to the uploaded file name. |
| `path` | array | No | Folder-name path to find or create; overrides folder_id. |
| `fields` | string | No | Comma-separated attributes or relationships to return, or 'all'. |
| `folder_id` | string | No | Folder receiving the file; ignored when path is supplied. |
| `documentable_id` | string | No | Record ID receiving the file; not needed for a firm upload. |
| `documentable_type` | string ("firm" | "client" | "matter" | "contact") | Yes | Record type receiving the file: firm, client, matter, or contact. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
