---
title: Smokeball API Integration on Truto
slug: smokeball
category: CRM
canonical: "https://truto.one/integrations/detail/smokeball/"
---

# Smokeball API Integration on Truto



**Category:** CRM  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 195 tools for Smokeball that AI agents can call directly.

- **create_a_smokeball_activity_code** — Create an activity code. Creates an activity code. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_activity_code_by_id** — Delete an activity code. Deletes an activity code. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_activity_code_by_id** — Get an activity code. Retrieves a specified activity code. Required: id.
- **list_all_smokeball_activity_codes** — Get activity codes. Returns a list of activity codes. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_activity_code_by_id** — Update an activity code. Updates an activity code. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_authorization_group** — Create an authorization group. Creates an authorization group. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_authorization_group_by_id** — Deletes an authorization group. Delete an authorization group. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_authorization_group_by_id** — Get an authorization group. Retrieves a specified authorization group. Required: id.
- **list_all_smokeball_authorization_groups** — Get authorization groups. Retrieves auhorization groups for the firm associated with the authenticated client. Smokeball documents no paging parameters but answers next links; Truto pages with Offset / Limit. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_authorization_group_by_id** — Update an authorization group. Updates a specified authorization group. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_authorization_policy** — Create an authorization policy. Creates an authorization policy. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_authorization_policy_by_id** — Get an authorization policy. Retrieves a specified authorization policy. Required: id.
- **update_a_smokeball_authorization_policy_by_id** — Update an authorization policy. Updates a specified authorization policy. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_bank_account_matter_balances** — Get bank account matter balances. Returns a list of bank account matter balances. Required: bank_account_id. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **create_a_smokeball_bank_account_protected_balance** — Protect bank account funds. Protects funds in a trust bank account. Only trust accounts are supported. Required: bank_account_id, matterId, effectiveDate, amount. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_bank_account_protected_balance_by_id** — Get a protected bank account balance. Retrieves a specified protected account balance record. Required: id, bank_account_id.
- **smokeball_bank_account_protected_balances_unlock** — Unprotect bank account funds. Unprotects funds in a trust bank account. Only trust accounts are supported. Releases protected funds (Smokeball's unprotect-funds). Required: bank_account_id, protectionId. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_bank_account_requisition** — Create a requisition. Creates a requisition against a trust account and supports the account approval workflow. Whether the requisition requires approval depends on the trust account configuration: - If approvals are enabled, firm owners can create requisitions without approval, while all other users require approval. Required: bank_account_id, matterId, payeeId, source, amount. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_bank_account_transaction** — Create a transaction. Creates a transaction. Required: bankAccountId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_bank_account_transaction_by_id** — Get a transaction. Retrieves a specified bank account transaction. Required: id, bankAccountId.
- **list_all_smokeball_bank_account_transactions** — Get transactions. Retrieves a specified bank accounts transaction. Smokeball's reference names a single Transaction as the answer though the call pages with Offset / Limit; Truto reads the page's value list. Required: bankAccountId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **get_single_smokeball_bank_account_by_id** — Get a bank account. Retrieves a specified bank account. Required: id.
- **list_all_smokeball_bank_accounts** — Get bank accounts. Returns a list of bank accounts.
- **create_a_smokeball_contact_relation** — Create a contact relation. Creates a relation for a specified contact. Required: contactId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_contact_relation_by_id** — Delete a contact relation. Deletes a relation for a specified contact. Required: id, contactId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_contact_relation_by_id** — Get a contact relation. Retrieves a relation for a specified contact if associated with the authenticated client. Required: id, contactId.
- **list_all_smokeball_contact_relations** — Get contact relations. Returns a list of relations for a specified contact if associated with the authenticated client. Smokeball documents no paging parameters but answers next links; Truto pages with Offset / Limit. Required: contactId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_contact_relation_by_id** — Update a contact relation. Updates a relation for a specified contact. Required: id, contactId. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_contact_tag** — Add tags to a contact. Adds tags to a contact. The tags go in items (Smokeball takes them as a bare JSON array). Required: contact_id, items.
- **list_all_smokeball_contact_tags** — Get contact tags. Retrieves a specified contacts tags. Required: contact_id.
- **smokeball_contact_tags_untag** — Remove tags from a contact. Removes tags from a contact. Smokeball's DELETE with the tags to remove in the body (items); tagId is the path's tag id. Required: contact_id, tagId, items. Smokeball handles the change asynchronously (202 Accepted).
- **smokeball_contacts_bulk_get** — Get contacts by ids. Returns the contacts matching the supplied IDs, in the same order as the request. IDs that do not resolve, or that belong to another account, are omitted. Up to 500 contact ids in the JSON body (ids); answers the matching contacts.
- **create_a_smokeball_contact** — Create a contact. Creates a contact. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_contact_by_id** — Delete a contact. Deletes a specified contact. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_contact_by_id** — Get a contact. Retrieves a specified contact. Required: id.
- **list_all_smokeball_contacts** — Get contacts. Returns a list of contacts. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_contact_by_id** — Update a contact. Updates a specified contact. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_event_reminder** — Create reminder for an event. Creates a new reminder for an event. Offset must be between 0 and 100. OffsetType must be one of: Minute, Hourly, Daily, Weekly, Monthly. Daily means working days only, not every calendar day. Non-working days (weekends) are skipped, so a Daily reminder is never sent on a non-working day. Required: eventId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_event_reminder_by_id** — Delete reminder for an event. Deletes a specified event reminder. Required: id, eventId. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_event_reminders** — Gets reminders for an event. Returns the collection of reminders for an event. Required: eventId.
- **update_a_smokeball_event_reminder_by_id** — Update a reminder for an event. Updates an existing reminder for an event. Offset must be between 0 and 100. OffsetType must be one of: Minute, Hourly, Daily, Weekly, Monthly. Daily means working days only, not every calendar day. Non-working days (weekends) are skipped, so a Daily reminder is never sent on a non-working day. Required: id, eventId. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_event** — Create event. Create new event. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_event_by_id** — Delete event. Deletes a specified event. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_event_by_id** — Get an event. Retrieves a specified event. Required: id.
- **list_all_smokeball_events** — Get events. Returns a list of events. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_event_by_id** — Update event. Updates event details. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_expense** — Create an expense. Creates an expense for the specified matter. Required: matterId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_expense_by_id** — Delete an expense. Deletes an expense. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_expense_by_id** — Get an expense. Retrieves a specified expense. Required: id, matterId.
- **list_all_smokeball_expenses** — Get expenses. Returns a list of expenses for the specified matter. Required: matterId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_expenses_partial_update** — Patch an expense. Patches an expense for the specified matter. Required: matterId, expense_id. Smokeball handles the change asynchronously (202 Accepted).
- **update_a_smokeball_expense_by_id** — Update an expense. Updates an expense for the specified matter. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_fee** — Create a fee. Creates a fee for the specified matter. Required: matterId, feeDate, subject. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_fee_by_id** — Delete a fee. Deletes a fee. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_fee_by_id** — Get a fee. Retrieves a specified fee. Required: id, matterId.
- **list_all_smokeball_fees** — Get fees. Returns a list of fees for the specified matter. Required: matterId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_fees_partial_update** — Patch a fee. Patches a fee for the specified matter. Required: matterId, fee_id. Smokeball handles the change asynchronously (202 Accepted).
- **update_a_smokeball_fee_by_id** — Update a fee. Updates a fee for the specified matter. Required: id, matterId, feeDate, subject. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_file_download_url_by_id** — Get download url for a file. Returns a presigned download URL for the current version of the file, or for a specific version when 'versionId' is supplied. The URL is valid for 1 hour. The response 'Content-Disposition' uses the file name and extension. Required: id, matterId.
- **list_all_smokeball_file_history** — Get file history on a matter. Returns the full list of history entries for the specified file. The result is not paged. Required: matterId, fileId.
- **create_a_smokeball_file_preview** — Get or create a preview. Returns a PDF preview of the current version of the specified file, creating it if it does not exist yet. The 202 response has two shapes: - Preview already exists: 'downloadUrl' contains a presigned URL to the PDF preview and 'expiry' is its expiry time. The URL is valid for 1 day. Required: matterId, fileId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_file_preview_by_id** — Get preview info for a file. Returns a presigned URL to the PDF preview of the current version of the specified file. The URL is valid for 1 day from the time of the request. This endpoint never creates a preview. Use CreatePreview to request one; while the conversion is still pending this endpoint returns 404. Required: id, matterId.
- **list_all_smokeball_file_search_results** — Search files with advanced filters. Performs a full-account file search and returns files matching the provided query, paging options and filters. Full-text search across the firm's files. The search text (query) and the filters (an object of arrays: searchFields, includeFileExtensions, excludeFileExtensions, authorIds, contactIds) are query fields here; Truto sends them in the JSON body Smokeball expects. Required: query. Truto pages with Offset / Limit (limit = page size, up to 500); records at the top level.
- **get_single_smokeball_file_upload_url_by_id** — Get upload url for a file. Returns a presigned PUT URL for uploading a new version of an existing file. The URL is valid for 1 hour. Required: id, matterId.
- **get_single_smokeball_file_version_preview_by_id** — Get preview info for a file by document version. Returns a presigned URL to the PDF preview of a specific document version of the file. The URL is valid for 1 day from the time of the request. Required: id, matterId, fileId.
- **smokeball_files_bulk_create** — Add files to a matter. Registers a batch of new files on the matter and returns one 'UploadFileInfo' (presigned PUT URL, valid for 1 hour) per file, in request order. Intended for data migrations. The same rules as 'AddFile' apply to each item. The files go in items (Smokeball takes them as a bare JSON array). Required: matterId, items. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_file** — Add file to a matter. Registers a new file on the matter and returns a presigned PUT URL (valid for 1 hour) to upload its content. The file is created only after the content has been PUT to the URL and confirmed by the storage callback; the 'Location' link to 'GetFileById' returns 404 until then. Required: matterId, fileName. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_file_by_id** — Delete a file. Deletes a specified matter file. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_file_by_id** — Get a file. Retrieves a specified file. The file must belong to the matter in the route. Required: id, matterId.
- **list_all_smokeball_files** — Get files on a matter. Returns a paged list of files associated with a matter. Deleted files are excluded. Paging defaults: offset 0, limit equal to the maximum page size when not supplied. Ordering: ascending by date created (oldest first) unless a sort option is supplied. Required: matterId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_files_partial_update** — Patch a file. Partially updates a file's metadata. Only the fields supplied in the request are changed; all other fields keep their current values. Use PUT to replace all fields. The response always includes a presigned PUT URL (valid for 1 hour) that can optionally be used to upload a new version of the file. Required: matterId, file_id. Smokeball handles the change asynchronously (202 Accepted).
- **update_a_smokeball_file_by_id** — Upload/update version or metadata of a file. Replaces all editable fields of a file with the supplied values. Use PATCH to change only some fields. Because this is a full replace, omitting 'folderId' (or setting it to null) moves the file to the root folder. The destination folder is not validated for existence. Required: id, matterId, fileName. Smokeball handles the change asynchronously (202 Accepted).
- **smokeball_firm_bulk_update** — Update firm. Updates firm details for the current authenticated client. Updates the connection's firm (Smokeball's PUT /firm; no id). Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_firm** — Create firm. Creates a firm for the current authenticated client and registers an existing user as a staff member and firm owner. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_firm** — Get firm. Retrieves the details of the firm associated with the authenticated client. The firm the connection belongs to (one record).
- **delete_a_smokeball_firm_user_by_id** — Delete firm user mapping. Removes the user from the firm associated with the authenticated client. The staff member is set as a former staff member and a former user. User access is also disabled. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_firm_user_by_id** — Get firm user mapping. Retrieves a user mapping (based on staff or user id parameter provided) in the firm associated with the authenticated client. Required: id.
- **list_all_smokeball_firm_users** — Get firm user mappings. Retrieves a list of user mappings in the firm associated with the authenticated client.
- **update_a_smokeball_firm_user_by_id** — Update firm user mapping. Updates a user mapping in the firm associated with the authenticated client. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_folder_history** — Get folder history on a matter. Returns a list of history entries for the specified folder. The response is not paged. Required: matterId, folderId.
- **list_all_smokeball_folder_items** — Get folders/files under a folder. Returns a list of sub folders and files under a specified folder of a matter. The parentId and name properties of the response describe the requested folder itself, not its children. A deleted folder is still returned, with isDeleted: true and an empty listing. Folders are listed before files. The folders and files directly under the given folder. Required: matterId, folderId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **get_single_smokeball_folder_path_by_id** — Get folder path hierarchy. Returns the full folder hierarchy (path) as a collection ordered from the root folder down to the supplied folder. The root folder is not included in the response. Required: id, matterId.
- **create_a_smokeball_folder** — Create a folder. Creates a new folder under the specified matter. When parentFolderId is null or omitted the folder is created under the matter root. Required: matterId, name. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_folder_by_id** — Delete a folder. Deletes a folder belonging to the specified matter. An unknown folder id returns 400 rather than 404, because the folder may have been created but not yet processed. The change is processed asynchronously; the returned Link continues to resolve the folder with isDeleted: true once applied. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **smokeball_folders_partial_update** — Patch a folder. Partially updates a folder belonging to the specified matter. Only the fields supplied in the request are applied. A deleted folder can be restored by setting isDeleted to false. Only the folder itself is restored; subfolders and files that were deleted remain deleted. Required: matterId, folder_id. Smokeball handles the change asynchronously (202 Accepted).
- **update_a_smokeball_folder_by_id** — Update a folder. Replaces the editable fields of a folder belonging to the specified matter. All fields are applied, not only the ones that changed: name is required, and omitting parentFolderId (or setting it to null) moves the folder to the matter root. Use PATCH to change individual fields. Required: id, matterId, name. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_integrated_search_mapping_by_id** — Get mapping. Retrieves integrated search mapping data associated with the authenticated client. Uses the integrated search provider used by the firm (e.g. InfoTrack). Required: id.
- **smokeball_invitations_confirm** — Accept an invitation. Server-to-server clients only. Creates the invited person's login under the invited email address, with a user id derived from the invitation, and registers it with the firm; omit password to have the identity provider email them a way to set one. Accepts the invitation (Smokeball's accept). Required: invitation_id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_invitation** — Invite a person to join the firm. Invites a person who has no login yet to the firm associated with the authenticated client; accepting the invitation creates their login. The invitation is recorded asynchronously, so the returned link answers 404 for a few seconds. Set sendEmail to false to deliver it yourself. Required: email. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_invitation_by_id** — Cancel an invitation. A cancelled invitation can no longer be accepted. Cancelling is asynchronous: the invitation reads Cancelled once the cancellation is applied. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_invitation_by_id** — Get an invitation. A newly created invitation answers 404 for a few seconds after POST /invitations returns. Required: id.
- **list_all_smokeball_invitations** — Search invitations. Lists the firm's invitations, most recently expiring first. Only pending invitations are returned unless status says otherwise. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_invitations_resend** — Resend an invitation. Sends no email — the authenticated client delivers the invitation link itself. Resending is asynchronous: once applied, a pending or expired invitation reads Pending and expires seven days later. Required: invitation_id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_invoice_download_url_by_id** — Get download url for an invoice. Retrieves download details for a specified invoice. Required: id, matterId.
- **get_single_smokeball_invoice_by_id** — Get an invoice. Retrieves a specified invoice. Required: id, matterId.
- **list_all_smokeball_invoices** — Get invoices. Returns a list of invoices for the specified matter. Required: matterId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **get_single_smokeball_layout_design_by_id** — Get a layout design. Retrieves a specified layout design. Required: id.
- **list_all_smokeball_layout_designs** — Get layout designs. Returns a list of layout designs. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_matter_archives_bulk_partial_update** — Patch an archive for a matter. Updates a specified matter's archive with patch operations. Changes the given archive settings of the matter (no record id: the matter is matterId). Required: matterId. Smokeball handles the change asynchronously (202 Accepted).
- **smokeball_matter_archives_bulk_update** — Update an archive for a matter. Updates a specified matter's archive. Replaces the matter's archive settings (no record id: the matter is matterId). Required: matterId, isArchived. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_matter_archive_by_id** — Get the archive for a matter. Retrieves an archive for a matter. Required: id.
- **smokeball_matter_billing_configurations_bulk_partial_update** — Patch matter billing configuration. Patches the billing configuration for the specified matter. Changes the given billing settings of the matter (no record id: the matter is matterId). Required: matterId. Smokeball handles the change asynchronously (202 Accepted).
- **smokeball_matter_billing_configurations_bulk_update** — Update matter billing configuration. Updates the billing configuration for the specified matter. Replaces the matter's billing configuration (no record id: the matter is matterId). Required: matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_matter_billing_configuration_by_id** — Get matter billing configuration. Retrieves the billing configuration for the specified matter. Required: id.
- **get_single_smokeball_matter_item_by_id** — Get an item on a matter. Returns an item on the specified matter. Required: id, matterId.
- **list_all_smokeball_matter_items** — Get items on a matter. Returns a list of items on the specified matter. Required: matterId.
- **create_a_smokeball_matter_layout_contact** — Add a contact to a layout. Adds a new contact on a specified layout. Required: matterId, itemId, key, contactId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_matter_layout_contact_by_id** — Remove a contact from a layout. Removes a contact from a specified layout, deleting the associated role or relationship from the matter. The id is the layout contact key (Smokeball's key query parameter). Required: id, matterId, itemId. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_matter_layout_contacts** — Get layout contacts. Returns a list of contacts on a specified layout. Required: matterId, itemId.
- **create_a_smokeball_matter_layout** — Add a new layout. Adds a new layout matter item to a matter. Required: matterId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_matter_layout_by_id** — Remove a layout. Removes a layout matter item from a matter. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_matter_layout_by_id** — Get a layout. Retrieves a layout item on a specified matter. Required: id, matterId.
- **list_all_smokeball_matter_layouts** — Get layouts. Returns a collection of layout items on a specified matter. Required: matterId.
- **update_a_smokeball_matter_layout_by_id** — Merge a layout. Merges layout data. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_matter_role** — Add role to a matter. Appends a new role in the specified matter. Required: matterId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_matter_role_by_id** — Remove role from a matter. Removes a specified role from a matter. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_matter_role_by_id** — Get role on a matter. Returns a role in a specified matter. Required: id, matterId.
- **list_all_smokeball_matter_roles** — Get roles on a matter. Returns associated roles for a specified matter. Required: matterId.
- **update_a_smokeball_matter_role_by_id** — Update role on a matter. Updates a specified role on a matter. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_matter_stages** — Get a matter stage information. Returns the specified matters stage information. The matter's current stage (one record). Required: matterId.
- **create_a_smokeball_matter_tag** — Add tags to a matter. The tags go in items (Smokeball takes them as a bare JSON array). Required: matterId, items.
- **list_all_smokeball_matter_tags** — Get matter tags. Required: matterId.
- **smokeball_matter_tags_untag** — Remove tags from a matter. Removes the tag from the matter without deleting from the account. Smokeball's DELETE with the tags to remove in the body (items); tagId is the path's tag id. Required: matterId, tagId, items. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_matter_type_categories** — Get matter types categories. Returns a list of all the possible matter type categories.
- **get_single_smokeball_matter_type_by_id** — Get a matter type. Retrieves a specified matter type. Required: id.
- **list_all_smokeball_matter_types** — Get matter types. Returns a paginated list of matter types based on search criteria. Deleted matter types are not included. Note: If no Location is provided, all matter types from all locations will be returned. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **create_a_smokeball_matter** — Create a matter. Creates a new matter. Note: This endpoint can also be used to create a Lead. When creating a Lead you MUST remember to set a valid lead specific matterTypeId field (see field description below for more details) and set the isLead field to true. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_matter_by_id** — Delete a matter. Deletes a specified matter. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_matter_by_id** — Get a matter. Retrieves a specified matter. Required: id.
- **list_all_smokeball_matters** — Get matters. Returns a list of matters. To return leads, set the isLead search option to true. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_matters_partial_update** — Patch a matter. Patches a specified matter. Note: This endpoint can also be used to update a Lead, convert Lead to Matter and change the Lead/Matter type. See Matters documentation for more details on how to use this. Required: matter_id. Smokeball handles the change asynchronously (202 Accepted).
- **update_a_smokeball_matter_by_id** — Update a matter. Updates a specified matter. The following actions are currently not supported: - clientIds cannot be modified - otherSideIds cannot be modified - Matter cannot be converted back to Lead. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_memo** — Create a memo on a matter. Creates a memo on the specified matter. Required: matterId, title, text. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_memo_by_id** — Delete a memo. Deletes a specified memo. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_memo_by_id** — Get a memo. Retrieves a specified memo. Required: id, matterId.
- **list_all_smokeball_memos** — Get memos on a matter. Returns a list of memos on the specified matter. Required: matterId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_memo_by_id** — Update a memo. Updates a specified memo. Required: id, matterId, title, text. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_notification** — Create a notification. Creates a notification. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_notification_by_id** — Get a notification. Retrieves a specified notification. Required: id.
- **create_a_smokeball_plugin_subscription** — Subscribe account to plugin. Subscribes an account with the specified plugin. Required: pluginId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_plugin_subscription_by_id** — Unsubscribes account from plugin. Unsubscribes an account from the specified plugin. Required: id, pluginId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_plugin_subscription_by_id** — Get a plugin subscription. Returns the plugin subscription. Required: id, pluginId.
- **list_all_smokeball_plugin_subscriptions** — Get plugin subscriptions. Returns plugin subscriptions for the account. Required: pluginId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **create_a_smokeball_plugin_url** — Request plugin URL. Requests a secure URL from the plugin's endpoint for invoking the plugin. Accepts additional key/value pairs to pass to the plugin endpoint. Reserved keys (AccountId, UserId, UserEmail, MatterId, AppId, EmbedToken) cannot be included in AdditionalData. Required: pluginId.
- **create_a_smokeball_plugin** — Create a new plugin. Creates a new plugin with the specified plugin details. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_plugin_by_id** — Delete existing plugin. Deletes an existing plugin by id. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_plugin_by_id** — Get a plugin. Returns the plugin. Required: id.
- **list_all_smokeball_plugins** — Get plugins. Returns existing plugins. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_plugin_by_id** — Update existing plugin. Updates a plugin with the specified plugin details. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_portal_message** — Sends a portal message. Sends a message to the specified contact on the client portal. When using the Client Credentials grant type, include the UserId header to impersonate the lawyer in the firm who is sending the message. Required: matterId, message. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_portal_task** — Creates a portal task. Creates a new client portal task associated with the specified matter. Required: matterId, externalUserId, title, url. Smokeball handles the change asynchronously (202 Accepted).
- **update_a_smokeball_portal_task_by_id** — Patch a portal task. Updates a client portal task. Required: id, matterId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_referral_type_by_id** — Get a referral type. Retrieves a specified referral type. Required: id.
- **list_all_smokeball_referral_types** — Get referral types. Returns referral types, including custom referral types.
- **create_a_smokeball_role_relationship** — Add relationship to a role. Appends a new relationship with an existing role in the specified matter. Required: matterId, roleId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_role_relationship_by_id** — Remove relationship from a role in a matter. Removes a relationship from a role in a matter. Required: id, matterId, roleId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_role_relationship_by_id** — Get relationship on a role. Returns a relationship with a specified role in a matter. Required: id, matterId, roleId.
- **list_all_smokeball_role_relationships** — Get relationships on a matter. Returns associated relationships for a specified matter and role group. Required: matterId, roleId.
- **update_a_smokeball_role_relationship_by_id** — Update a relationship. Updates a specified relationship on a matter. Required: id, matterId, roleId. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_root_folder_items** — Get folders/files under root folder. Returns a list of sub folders and files under the root folder of a matter. Folders are listed before files. Paging applies across the combined list: offset defaults to 0 and limit defaults to the maximum page size (PagingOptions.MaxPageSize). Deleted folders and deleted files are excluded. The folders and files directly under the matter's root folder. Required: matterId. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **create_a_smokeball_staff** — Create firm staff member. Creates a staff member in the firm associated with the authenticated client. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_staff_by_id** — Deletes a firm staff member. Sets the staff member from the firm associated with the authenticated client as a former staff member. The staff member is set as a former staff member and if they are a user, becomes a former user. User access is also disabled. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_staff_by_id** — Get firm staff member. Retrieves a staff member (based on staff id parameter provided) in the firm associated with the authenticated client. Required: id.
- **list_all_smokeball_staff** — Search firm staff members. Retrieves a paginated list of staff members (filtered based on search parameters provided) in the firm associated with the authenticated client. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_staff_by_id** — Update firm staff member. Updates a staff member in the firm associated with the authenticated client. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_stage_mappings** — Get stage to matter mappings in the firm. Returns a list of stage to matter mappings in the firm. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **get_single_smokeball_stage_set_stage_by_id** — Get a stage on a stage set. Return the specified stage on the stage set. Required: id, stageSetId.
- **get_single_smokeball_stage_set_by_id** — Get a stage set. Returns the specified stage set. Required: id.
- **list_all_smokeball_stage_sets** — Get stage sets for the firm. Returns a list of stage sets for the firm. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **create_a_smokeball_subtask** — Create a subtask. Creates a subtask for a specified task. Required: taskId, staffId, subject. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_subtask_by_id** — Delete a subtask. Deletes a specified subtask of a specified task. Required: id, taskId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_subtask_by_id** — Get a subtask. Retrieves a specified subtask. Required: id, taskId.
- **list_all_smokeball_subtasks** — Get subtasks. Returns a list of subtasks for a specified task if associated with the authenticated client. Required: taskId.
- **update_a_smokeball_subtask_by_id** — Update a subtask. Updates a specified subtask of a specified task. Required: id, taskId, staffId, subject. Smokeball handles the change asynchronously (202 Accepted).
- **create_a_smokeball_task_document** — Create a task document. Links the specified document to the specified task. Required: taskId, type. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_task_document_by_id** — Delete a task document. Unlinks the specified document from the specified task. Required: id, taskId. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_task_document_by_id** — Get a task document. Retrieves the specified task document for the specified task. Required: id, taskId.
- **list_all_smokeball_task_documents** — Get task documents. Returns a list of document links for the specified task, if associated with the authenticated client. Required: taskId.
- **create_a_smokeball_task** — Create a task. Creates a task. Required: staffId. Smokeball handles the change asynchronously (202 Accepted).
- **delete_a_smokeball_task_by_id** — Delete a task. Deletes a specified task. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_task_by_id** — Get a task. Retrieves a specified task. Required: id.
- **list_all_smokeball_tasks** — Get tasks. Returns a list of tasks. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **update_a_smokeball_task_by_id** — Update a task. Updates a specified task. Required: id, staffId. Smokeball handles the change asynchronously (202 Accepted).
- **list_all_smokeball_user_registrations** — Get user registrations. Lists the users actively registered with the authenticated client's firm, each with when their current registration started. registeredAt moves if a user is removed from the firm and added again.
- **create_a_smokeball_user** — Create a user. Creates a user. Provider decides where the user is created. When omitted, Default is used. - Default (the service's default identity provider for new users) - Auth0 InitialPassword decides how the user gets their first password. Required: email.
- **delete_a_smokeball_user_by_id** — Remove a user. Removes a user. User must belong to the specified account. Required: id. Smokeball handles the change asynchronously (202 Accepted).
- **get_single_smokeball_user_by_id** — Get a user. Retrieves a specified user. Required: id.
- **smokeball_users_invite** — Resend sign-in credentials. Sends a new temporary password to an existing login. It does not invite a person to join a firm. The user must exist and belong to the specified account when specifying id. Optionally resend credentials using an email address instead of a user id. Required: user_id, email.
- **list_all_smokeball_webhook_event_types** — Get event types. Returns the available webhook event types.
- **create_a_smokeball_webhook** — Create new webhook subscription. Creates a new webhook subscription with the specified subscription details.
- **delete_a_smokeball_webhook_by_id** — Deletes a webhook subscription. Deletes and unsubscribes from the specified webhook subscription. Required: id.
- **get_single_smokeball_webhook_by_id** — Get a webhook subscription. Returns the webhook subscription. Required: id.
- **list_all_smokeball_webhooks** — Get webhook subscriptions. Returns existing webhook subscriptions. Truto pages with Offset / Limit (limit = page size, up to 500); records at value.
- **smokeball_webhooks_trigger** — Notify a webhook subscription. Notifies a webhook subscription with a 'noop' event type. Used for testing purposes. Sends a test (noop) event to the webhook subscription. Required: webhook_id.
- **update_a_smokeball_webhook_by_id** — Update a webhook subscription. Updates a webhook subscription with the specified subscription details. Required: id.

## How it works

1. **Link your customer's Smokeball account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Smokeball.** The Proxy API is a 1-to-1 mapping of the Smokeball API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Embed legal AI copilots directly into Smokeball matters** — AI drafting, summarization, and document review platforms can pull case files from Smokeball, run inference, and push drafts back into the matter folder — eliminating manual download/upload friction that kills adoption among lawyers.
- **Push web leads straight into firm intake workflows** — Marketing, chat, and virtual reception tools can create Smokeball contacts, lead matters, and assigned tasks the moment a prospect converts, so SaaS vendors can prove measurable ROI on speed-to-lead instead of just sending email alerts.
- **Automate hard-cost capture for cost-recovery SaaS** — eDiscovery, court reporting, process serving, and expert witness platforms can post expenses and fees against the correct matter automatically, so firms recover disbursements on the next billing cycle instead of writing them off.
- **Sync client communications and tasks to the matter timeline** — SMS, review-request, e-signature, and client portal tools can log memos, send portal messages, and assign portal tasks to clients so every touchpoint lives inside the firm's system of record.
- **Trigger downstream workflows from matter and file events** — Workflow and automation platforms can subscribe to Smokeball webhooks to react instantly when a matter stage changes, a file is added, or a task completes — powering event-driven integrations without polling.

## What you can build

- **Two-way document sync with presigned URLs** — List, download, and bulk upload files on a matter using Smokeball's presigned URL flow so your users can round-trip documents between your product and Smokeball.
- **Lead-to-matter intake automation** — Create a contact, open a lead matter with isLead set, assign an intake task to a staff member, and move it through stage mappings as it progresses.
- **Automated fee and expense posting** — Write time-based fees and hard-cost expenses directly to the matter with activity codes so they flow into the firm's next invoice automatically.
- **Trust accounting and requisition workflows** — Create bank account requisitions, post transactions, and manage protected balances to support IOLTA-compliant trust handling from inside your product.
- **Client portal messaging and tasks** — Send secure portal messages and assign portal tasks to clients so homework, intake forms, and status updates reach them through Smokeball's native client portal.
- **Event-driven sync via webhooks** — Register webhooks for matter, file, task, and contact events to keep your system in sync in near real time without polling the API.

## FAQs

### How does authentication to Smokeball work through Truto?

Truto handles the full OAuth handshake with Smokeball on behalf of your end users. Your users click connect inside your product, authorize their Smokeball firm, and Truto stores and refreshes the tokens — your code just calls Truto with the connection ID.

### Can we create both leads and matters through the integration?

Yes. The create_a_smokeball_matter tool supports Smokeball's isLead flag, so you can push lead records from intake and marketing flows and later convert them, or create full matters directly for existing clients.

### How do file uploads and downloads work?

Smokeball uses presigned URLs that are valid for roughly one hour. Truto exposes get_single_smokeball_file_download_url_by_id and get_single_smokeball_file_upload_url_by_id (plus smokeball_files_bulk_create) so you can stream file bytes securely without proxying them through Smokeball's main API.

### Does the integration support real-time events or only polling?

Smokeball supports webhooks. You can use create_a_smokeball_webhook and list_all_smokeball_webhook_event_types through Truto to subscribe to matter, file, task, and contact events and drive event-based workflows instead of polling.

### Can we post billable time, expenses, and trust transactions?

Yes. The integration exposes fees, expenses, activity codes, bank accounts, bank account transactions, requisitions, and protected balances — enough to support both standard billing and regulated trust/IOLTA workflows.

### Can end users interact with the Smokeball client portal through our product?

Yes. You can call create_a_smokeball_portal_message to send secure messages and create_a_smokeball_portal_task (plus update_a_smokeball_portal_task_by_id) to assign and update client-facing tasks in the native Smokeball portal.

### What if we need a Smokeball endpoint that isn't in the current tool list?

Truto builds integrations on request. If your workflow needs an endpoint or object that isn't currently exposed, reach out and we can extend the Smokeball integration to cover it.
