Get the sync settings of a destination

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/{provider}/settings

Returns the organization's sync settings for one destination: inbound case creation and document sync (Clio and Smokeball only) and outbound export per data source, or the defaults when it was never configured. An unknown provider returns 400. Requires a member role or above in the organization.

Headers

  • organization string Required

    id of the selected (active) organization

Path parameters

  • provider string Required

    Export destination: a CMP (clio, smokeball) or a storage backend (dropbox).

    Values are clio, smokeball, or dropbox.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required

      Sync settings for the destination.

      Hide data attributes Show data attributes object
      • inbound object

        Clio and Smokeball only.

        Hide inbound attributes Show inbound attributes object
        • cases object
          Hide cases attributes Show cases attributes object
          • autoCreateFromWebhook boolean
          • autoCollection object
        • documents object
          Hide documents attribute Show documents attribute object
          • autoSync boolean
      • outbound object
        Hide outbound attribute Show outbound attribute object
        • dataSources object

          Per data source: enabled, mode (auto or manual) and source options.

    • statusCode number Required
    • timestamp string(date-time) Required
GET /legal/{provider}/settings
curl \
 --request GET 'http://api.example.com/legal/{provider}/settings' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "organization: string"
Response examples (200)
{
  "data": {
    "inbound": {
      "cases": {
        "autoCreateFromWebhook": false,
        "autoCollection": {}
      },
      "documents": {
        "autoSync": false
      }
    },
    "outbound": {
      "dataSources": {
        "file": {
          "enabled": false,
          "mode": "auto"
        },
        "email": {
          "enabled": false,
          "mode": "manual"
        }
      }
    }
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}