List the legal sync records of a case

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
GET /legal/cases/{caseId}/legal-sync/status

Lists what has been or is being sent from the case to Clio, Smokeball or Dropbox, one row per record and destination, most recently updated first, with status, file name, target matter or folder, error and timings; filter by provider, status and sourceType. Destinations whose integration is turned off are left out. Requires a member role or above in the organization.

Headers

  • organization string Required

    id of the selected (active) organization

Path parameters

  • caseId string Required

Query parameters

  • provider string

    Values are clio, smokeball, or dropbox.

  • status string

    Values are pending, processing, completed, failed, disabled, or skipped.

  • sourceType string

    Values are Device, UserEmailDataProvider, CaseFileProvider, FinancialAccountProvider, LegalDocumentProvider, DiscordUserProvider, RedditUserProvider, LinkedInUserProvider, or AiChatProvider.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required
      Hide data attribute Show data attribute object
      • records array[object]
        Hide records attributes Show records attributes object
        • id string Required
        • destination string Required

          Values are clio, smokeball, or dropbox.

        • integrationType string | null Deprecated

          Deprecated alias of destination, present only for CMP destinations. Null for storage destinations, which have no integration type. Use destination.

          Values are goodfact, clio, or smokeball.

        • sourceType string Required
        • status string Required

          Values are pending, processing, completed, failed, disabled, or skipped.

        • fileName string | null
        • target string | null

          Where the document was filed: a matter id for a CMP, a folder path for storage.

        • matterId string | null Deprecated

          Deprecated alias of target. Use target.

        • errorMessage string | null
        • requiresExport boolean Required
        • remoteDocumentId string | null

          Destination document id once uploaded (null until sent).

        • startedAt string(date-time) | null
        • completedAt string(date-time) | null
        • failedAt string(date-time) | null
        • createdAt string(date-time) | null
        • updatedAt string(date-time) | null
    • statusCode number Required
    • timestamp string(date-time) Required
GET /legal/cases/{caseId}/legal-sync/status
curl \
 --request GET 'http://api.example.com/legal/cases/{caseId}/legal-sync/status' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "organization: string"
Response examples (200)
{
  "data": {
    "records": [
      {
        "id": "65a1b2c3d4e5f6a7b8c9d0f3",
        "destination": "clio",
        "integrationType": "clio",
        "sourceType": "CaseFileProvider",
        "status": "completed",
        "fileName": "text-messages-export.pdf",
        "target": "12345",
        "matterId": "12345",
        "errorMessage": "string",
        "requiresExport": false,
        "remoteDocumentId": "778899",
        "startedAt": "2026-01-15T10:15:00.000Z",
        "completedAt": "2026-01-15T10:20:00.000Z",
        "failedAt": "2026-05-04T09:42:00Z",
        "createdAt": "2026-01-15T10:15:00.000Z",
        "updatedAt": "2026-01-15T10:20:00.000Z"
      }
    ]
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}