Rocket Matter Documents API

The Documents API from Rocket Matter — 22 operation(s) for documents.

GitHub OpenAPI

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /Documents.svc/json/UploadDocument Upload a document to a matter · Upload document #
Ask an LLM
“How do I upload a file into a matter's document folder?”
“Can I attach a document to a matter through the API?”
Tell an agent
Upload this document into the matter.
Add a file to the matter's document storage.
POST /Documents.svc/json/GetDocumentsInPath List documents in a folder path · Get documents in path #
Ask an LLM
“Which documents are in a particular folder of a matter?”
“Can I see everything under a folder path in a matter?”
Tell an agent
List the documents in the folder path of matter {MatterId}.
Show every document under the given path in matter {MatterId}.
POST /Documents.svc/json/Save Save a document to a matter directory · Save #
Ask an LLM
“How do I save a document to a directory on a matter?”
“Can I save a file to the root directory without specifying a directory?”
Tell an agent
Save document {Document} to directory {DirectoryId}.
Save {Document} to the root of the matter.
POST /Documents.svc/json/GetDocument Get a document by ID · Get document #
Ask an LLM
“How do I fetch a document by its ID?”
“Can I retrieve a note document by its activity ID?”
Tell an agent
Get document {DocumentUId}.
Show note {ActivityId} in the matter.
POST /Documents.svc/json/GetDirectories List a matter's document folders · Get directories #
Ask an LLM
“What folders exist in a matter's document storage?”
“Can I list the directory IDs of a matter?”
Tell an agent
List the directories in matter {MatterId}.
Show every folder under matter {MatterId}.
POST /Documents.svc/json/MoveDocumentsToFolder Move documents to a folder · Move documents to folder #
Ask an LLM
“How do I move several documents into a folder?”
“Can I move invoices between matters?”
Tell an agent
Move documents {DocumentIds} into folder {DirectoryId} of matter {MatterId}.
Move {DocumentIds} into folder {DirectoryId} in matter {MatterId}.
POST /Documents.svc/json/RenameFolder Rename a folder · Rename folder #
Ask an LLM
“How do I rename a document folder?”
“Do folder names have to be unique within a matter?”
Tell an agent
Rename folder {DocumentId} to {NewName}.
Change the name of folder {DocumentId} to {NewName}.
POST /Documents.svc/json/GetInvoicedDocuments List documents invoiced with a given document · Get invoiced documents #
Ask an LLM
“Which documents were invoiced together with a particular document?”
“Can I find every invoice that references one document?”
Tell an agent
List the documents invoiced with {DocumentId}.
Show all documents that share an invoice with {DocumentId}.
POST /Documents.svc/json/DeleteDocument Delete a document · Delete document #
Ask an LLM
“How do I delete a document from a matter?”
“Is deleting a document logged in the matter stream?”
Tell an agent destructive · confirm first
Delete document {DocumentId}.
Remove {DocumentId} from the matter's documents.
POST /Documents.svc/json/DeleteNote Delete a note · Delete note #
Ask an LLM
“How do I delete a note from a matter?”
“Can I remove a note without deleting its document?”
Tell an agent destructive · confirm first
Delete note {ActivityId}.
Remove note {ActivityId} from the matter.
POST /Documents.svc/json/GetPortalDocumentContacts Get portal users who can view a document · Get portal document contacts #
Ask an LLM
“Who has access to a document shared with the client portal?”
“Can I see the portal users for a document by its activity ID?”
Tell an agent
Get the portal users who can view document {ActivityId}.
Show the client portal contacts for {ActivityId}.
POST /Documents.svc/json/SavePortalDocumentContacts Share a document with portal users · Save portal document contacts #
Ask an LLM
“How do I share a document with specific portal users?”
“Does sharing a document notify the portal users?”
Tell an agent
Share document {ActivityId} with portal users {Contacts}.
Send {ActivityId} to portal users {Contacts}.
POST /Documents.svc/json/GetDocumentUploadUrl Get a URL to upload a document · Get document upload url #
Ask an LLM
“How do I upload a file to a matter without the API?”
“Can I get a temporary upload URL for a document?”
Tell an agent
Get an upload URL for {Files} in matter {MatterId}.
Give me a temporary upload link for {Files} in {DirectoryId} of {MatterId}.
POST /Documents.svc/json/GetInvoiceTempateUploadUrl Get a URL to upload an invoice template · Get invoice tempate upload url #
Ask an LLM
“How do I upload an invoice template to a matter?”
“Can I get a temporary URL for an invoice template file?”
Tell an agent
Get an invoice template upload URL for {Files} in matter {MatterId}.
Give me a temporary link to upload invoice template {Files} into {DirectoryId} of {MatterId}.
POST /Documents.svc/json/SaveDocumentsForMatter Save several documents to a matter · Save documents for matter #
Ask an LLM
“How do I bulk save files into a matter's document storage?”
“Can I save multiple files to a directory in one call?”
Tell an agent
Save {Files} into matter {MatterId}.
Bulk save {Files} into directory {DirectoryId} of {MatterId}.
POST /Documents.svc/json/GetDocumentFileInfo Get a document's file information · Get document file info #
Ask an LLM
“Where is a document's file hosted and what is its URL?”
“Can I get the file URL for a document by its ID?”
Tell an agent
Get the file info for document {DocumentId}.
Show the file URL of {DocumentId}.
POST /Documents.svc/json/GetDownloadKey Get a download link for a document · Get download key #
Ask an LLM
“How do I download a document from a matter?”
“Can I get a download key for a document by its version?”
Tell an agent
Get a download key for document {DocumentId}.
Give me a download link for {DocumentId} in matter {MatterId}.
POST /Documents.svc/json/SetDocumentIntegrationFolder Set a matter's document integration folder · Set document integration folder #
Ask an LLM
“How do I connect a matter's documents to Dropbox or Box?”
“What integration types does the document integration folder support?”
Tell an agent
Set the {Type} integration folder for matter {MatterId} to {Folder}.
Connect matter {MatterId} to {Type} folder {Folder}.
POST /Documents.svc/json/GetDocumentIntegration Get a matter's document integration · Get document integration #
Ask an LLM
“Which cloud storage service is a matter's documents integrated with?”
“Can I check the document integration type for a matter?”
Tell an agent
Get the {Type} integration for matter {MatterId}.
Show which document integration {Type} is set on matter {MatterId}.
POST /Documents.svc/json/DeleteDocumentsInPath Delete all documents in a folder path · Delete documents in path #
Ask an LLM
“How do I delete every document under a folder path?”
“Can I clear a folder path of all its documents?”
Tell an agent destructive · confirm first
Delete all documents in {DocumentPaths} of matter {MatterId}.
Clear folder path {DocumentPaths} in matter {MatterId}.
POST /Documents.svc/json/DocumentContentsChanged Check whether a document's contents changed · Document contents changed #
Ask an LLM
“How do I tell if the file contents of a document have changed since the last sync?”
“Can I compare new base64 contents against what is stored for a document?”
Tell an agent
Check whether document {DocumentId} has changed.
Compare base64 contents {Base64Contents} to document {DocumentId}.
POST /Documents.svc/json/GetDocumentVersions List a document's versions · Get document versions #
Ask an LLM
“What versions exist for a given document?”
“Can I see the version history of a document?”
Tell an agent
Get the versions of document {DocumentId}.
Show the version history for document {DocumentId}.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rocket-matter:rocket-matter-documents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rocket-matter-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to the Rocket Matter API.
  version: '2.0'
  title: Rocket Matter Documents API
  termsOfService: www.rocketmatter.com
  contact:
    email: developer@rocketmatter.com
  license:
    name: Rocket Matter
    url: www.rocketmatter.com
  x-logo:
    url: https://support.rocketmatter.com/wp-content/themes/rm-support/img/rm-logo.png
servers:
- url: https://<DOMAIN>/<INSTALL>/API_V2
tags:


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://artifacts.apis.io/rocket-matter/openapi/rocket-matter-documents-api-openapi.yml