Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.
Authentication: SmartAdvocate host, username, and password. See Magic Link for the runtime auth flow.
Sample use cases
- Open a new case for a personal-injury client and set the case type.
- List all appointments scheduled for case number 2024-0512.
- Add the plaintiff’s injuries and treatment details to the case.
- Show me the outstanding tasks assigned to the litigation team.
Available Tools
List every calendar appointment on one case by internal case ID.
List every calendar appointment on one case by its human-readable case number.
Search appointments across cases for firm-wide calendars and deadline reports.
Schedule an appointment on a case , a hearing, deposition, meeting, or reminder.
List the firm’s appointment types, e.g. Deposition or Trial.
List the firm’s appointment activity types , the secondary classification on an appointment.
List the firm’s appointment statuses, e.g. Scheduled or Cancelled. Call this before create_appointment.
List the calls logged on one case — remote party, number, direction, date, and summary. Page with page_info.next_page.
Log a phone call on a case. direction is true for outbound and false for inbound.
Replace a logged call in full. Every field you want kept must be supplied , omitted fields are cleared.
Change selected fields on a logged call, leaving the others untouched.
Delete a logged call from a case permanently. This cannot be undone.
Get one case by its internal case ID, including parties, staff, tags, and incident summary.
Get a case by its human-readable case number, e.g. 9000002.
Search cases modified within a date range, optionally narrowed by case number, case type, case group, or tag.
List open cases assigned to one staff member, for workload or dashboard views.
Open a new case from intake details. Call list_case_groups and list_case_types first , group and type IDs are per-firm configuration and cannot be guessed.
Change a case’s human-readable case number.
List every contact linked to a case with the role each one holds , plaintiff, defendant, witness, adjuster, and so on.
Link an existing contact to a case in a role.
Replace a case-contact link’s role and comments.
Change selected fields on a case-contact link, leaving the others untouched.
Unlink a contact from a case. This removes the case-contact relationship only; the contact record itself is left in place.
List cases linked to this one as related matters , consolidated cases, companion cases, or other cases involving the same parties.
List the firm’s case groups , the top-level case classification, e.g. Personal Injury.
List the case types inside one case group , the second-level classification.
List the subtypes inside one case type , the third-level classification.
Get a contact’s core details by contact ID , name, primary address, phone, and email.
Get a contact’s complete record, including all addresses, emails, phones, and classification fields.
Search contacts by modified-date window, optionally restricted to those linked to given case numbers.
Find contacts by name or phone number , the way to resolve a person to a contact ID before add_case_contact, add_plaintiff, or create_call.
Create a contact. Call list_contact_types first , category and type IDs are per-firm configuration.
Change selected fields on a contact, leaving the others untouched.
List contacts related to a given contact, with the relationship each one holds , family members, employers, and similar links.
List a contact’s postal addresses. Returns the address IDs patch_contact_address and delete_contact_address take.
Add one or more postal addresses to a contact.
Change selected fields on one of a contact’s addresses.
Delete one address from a contact permanently. This cannot be undone.
List a contact’s email addresses. The address itself is in the name field.
Add one or more email addresses to a contact.
Change selected fields on one of a contact’s email addresses.
Delete one email address from a contact permanently. This cannot be undone.
List a contact’s phone numbers with their labels and texting flags.
Add one or more phone numbers to a contact.
Change selected fields on one of a contact’s phone numbers.
Delete one phone number from a contact permanently. This cannot be undone.
List the firm’s contact types for a contact category.
List the firm’s address types for a contact category, for labelling addresses on a contact.
List the firm’s phone types, e.g. Mobile Phone or Work Phone.
List the firm’s contact subcategories. Feeds contact_sub_category_id on create_contact.
List document metadata for one case, filtered server-side by category, subcategory, or originating/destination contact.
List document metadata for one case by its human-readable case number, with the same category and contact filters.
Get one document’s metadata by document ID , name, category, dates, and review state.
Search document metadata across cases by modified-date window, narrowed by case number, category, subcategory, or contact.
Create a document metadata record on a case.
Replace a document’s metadata in full. Every field you want kept must be supplied , omitted fields are cleared.
Change selected metadata fields on a document, leaving the others untouched.
Download a document’s file content by document ID.
Attach file content to an existing document record.
List the firm’s document categories with their subcategories, one row per category/subcategory pair.
List the document folders configured on one case.
List the firm’s document tags. Call this before create_document to pass valid tag_ids.
Get a case’s incident record , the facts of what happened plus structured details like date, state, and county.
Get a case’s incident record by its human-readable case number.
Search incident records across cases by modified-date window, optionally restricted to specific case numbers.
Replace a case’s incident facts and structured details.
Change selected fields on a case’s incident record, leaving the others untouched.
List the states available on incident records.
List the counties available on incident records.
List the firm’s liability codes for incident records.
List the injury records on a case, one per injured plaintiff.
Get one injury record on a case, including its summaries and confinement details.
Search injury records across cases by modified-date window, optionally restricted to specific case numbers.
Create an injury record for one plaintiff on a case.
Replace an injury record’s summaries, confinement details, and comments.
Delete an injury record from a case permanently, along with its detail rows. This cannot be undone.
List the detail rows under one injury , each a body part with its treatments and sequelae.
Get one injury detail row by its ID. Use list_injury_details to find row IDs.
Add a body-part detail row to an injury.
Replace an injury detail row. Fields left unset are cleared, so supply everything you want kept.
Change selected fields on an injury detail row, leaving the others untouched.
Delete one injury detail row permanently. This cannot be undone.
Add injury detail rows from ICD diagnosis codes, letting SmartAdvocate map each code to the right body part and injury.
Add procedure detail rows to an injury from CPT procedure codes, letting SmartAdvocate map each code to the right treatment.
List the body parts available on injury detail rows.
List the sequelae , follow-on conditions , recorded for one body part.
List the treatments available for one body part.
List the firm’s catalogue of injury names.
List the insurance policies on a case for one side.
List insurance policies for one side of a case by its human-readable case number.
Get one insurance policy on a case by its insurance record ID, including carrier, adjuster, limits, and claim number.
Record an insurance policy on a case. Set party to ‘P’ or ‘D’ and pass the matching plaintiff_id or defendant_id from list_plaintiffs / list_defendants.
Replace an insurance policy in full. Fields left unset are cleared, so supply everything you want kept, including party and the matching party ID.
Change selected fields on an insurance policy, leaving the others untouched.
Delete an insurance policy from a case permanently. This cannot be undone.
List the firm’s insurance types, e.g. auto liability or health.
List the notes on one case by internal case ID, newest first.
List the notes on one case by its human-readable case number.
Get one case note by its note ID, including full body text and sharing settings.
Search notes across cases by modified-date window, optionally restricted to specific case numbers.
Add a note to a case. Call list_note_types first , note type IDs are per-firm configuration.
Replace a note in full , type, body, date, subject, contact, priority and sharing.
Change selected fields on a note, leaving the others untouched.
List the firm’s note types. Call this before create_note or update_note , note type IDs are per-firm configuration and cannot be guessed.
List the plaintiffs on a case with their roles and contact IDs.
List the defendants on a case with their roles and contact IDs.
Add a plaintiff to a case. Call list_plaintiff_roles first with the case’s type ID , role IDs are per-firm configuration.
Change selected fields on a plaintiff record, leaving the others untouched.
List the plaintiff roles available for a case type, e.g. Passenger or Driver.
Look up cases by a single criterion, e.g. every case with a given status.
List the staff assigned to one case with their roles.
List staff assignments by case number. Accepts % as a wildcard, so ‘1%’ returns assignments for every case whose number starts with 1.
Search staff assignments across cases by modified-date window, optionally restricted to specific case numbers.
List a case’s status history by internal case ID , each record with its type, value, and effective dates.
List a case’s status history by its human-readable case number.
Get one case status record by its status record ID, with dates and comments.
Search case status records across cases by modified-date window, optionally restricted to specific case numbers.
Add a status record to a case. Call list_status_types first , both the status type ID and the status value ID within it are per-firm configuration.
Change the comment on an existing case status record.
Close out the active status of a given type on a case by stamping its end date.
List the firm’s case status types and the status values inside each one.
List every tag defined in the firm, with its active state and any case-group or case-type restrictions.
Get one tag definition by ID, including its group and case-type restrictions.
Define a new tag that can be applied to cases.
Update a tag definition’s name, active state, or group restrictions.
Delete a tag definition permanently. This also removes the tag from every case it was applied to and cannot be undone.
List the tags that can still be applied to one case , those allowed for its case group and type and not already assigned.
Apply one or more existing tags to a case.
Take one or more tags off a case. The tag definitions themselves are left intact , use delete_tag to remove a definition entirely.
List the tasks on one case by internal case ID.
List the tasks on one case by its human-readable case number.
Get one task by its task ID, including assignee, dates, and attached documents.
Search tasks across cases, filtering by modified window, due-date range, type, status, assignee, or template.
Create a task on a case. Call list_task_types, list_task_statuses, and list_task_priorities first , these IDs are per-firm configuration.
Replace a task in full. Every field you want kept must be supplied , omitted fields are cleared.
Change selected fields on a task, leaving the others untouched.
Delete a task permanently by its task ID. This cannot be undone.
List the firm’s task types. Call this before create_task, update_task, or search_tasks , task type IDs are per-firm configuration.
List the firm’s task statuses, e.g. Not Started or Completed.
List the firm’s task priority levels, e.g. Normal or High. Call this before create_task or update_task.
List a case’s user-defined fields and their current values , SmartAdvocate’s custom fields.
List a case’s user-defined fields by its human-readable case number.
Get one user-defined field’s value on a case by its UDF definition ID. Use list_case_udfs to find UDF IDs.
Search user-defined field values across cases by modified-date window, optionally restricted to specific case numbers.
Set one user-defined field’s value on a case.
Set several user-defined field values on one case in a single transaction , if any entry is invalid nothing is written.
List the rows of a UDF grid on a case. Get the screen name from the screen_name of a grid-type field returned by list_case_udfs.
Get one row of a UDF grid by row ID, returning each cell’s column definition ID and value.
Add a row to a UDF grid on a case. Read the column definition IDs from an existing row with list_udf_grid_rows first , they are per-firm configuration and cannot be guessed.
Replace a UDF grid row’s cells. This is a full replacement , include every column you want kept, with each cell’s udf_value_id so existing values are updated rather than duplicated.
Delete a row from a UDF grid on a case. This cannot be undone.