Updates the organization's sync settings for one destination; only the fields sent change. For Clio and Smokeball the webhook registration follows the change, and a webhook failure is logged without failing the save. Dropbox has outbound settings only, so sending cases or documents for it returns 400, as does an unknown provider. Requires an org admin or owner.
Path parameters
-
Export destination: a CMP (clio, smokeball) or a storage backend (dropbox). Storage destinations are outbound-only — sending 'cases' or 'documents' for one is a 400.
Values are
clio,smokeball, ordropbox.
PATCH
/legal/{provider}/settings
curl \
--request PATCH 'http://api.example.com/legal/{provider}/settings' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "organization: string" \
--data '{
"cases": {
"autoCreateFromWebhook": true,
"autoCollection": {
"enabled": true,
"template": {
"caseType": "string",
"sources": [
"ios"
],
"roles": [
{
"role": "string",
"hint": "string",
"required": true,
"channels": [
"string"
]
}
],
"documentRequests": [
"string"
],
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
}
}
}
},
"documents": {
"autoSync": true
},
"dataSources": {
"file": {
"enabled": true
},
"email": {
"enabled": true,
"format": "pdf"
},
"device": {
"enabled": true,
"format": "pdf"
},
"financial": {
"enabled": true,
"format": "pdf",
"types": {
"transactions": true,
"recurringTransactions": true,
"holdings": true,
"liabilities": true,
"investmentTransactions": true,
"statements": true
}
},
"reddit": {
"enabled": true
},
"discord": {
"enabled": true
}
}
}'
Request examples
# Headers
organization: string
# Payload
{
"cases": {
"autoCreateFromWebhook": true,
"autoCollection": {
"enabled": true,
"template": {
"caseType": "string",
"sources": [
"ios"
],
"roles": [
{
"role": "string",
"hint": "string",
"required": true,
"channels": [
"string"
]
}
],
"documentRequests": [
"string"
],
"dateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
}
}
}
},
"documents": {
"autoSync": true
},
"dataSources": {
"file": {
"enabled": true
},
"email": {
"enabled": true,
"format": "pdf"
},
"device": {
"enabled": true,
"format": "pdf"
},
"financial": {
"enabled": true,
"format": "pdf",
"types": {
"transactions": true,
"recurringTransactions": true,
"holdings": true,
"liabilities": true,
"investmentTransactions": true,
"statements": true
}
},
"reddit": {
"enabled": true
},
"discord": {
"enabled": true
}
}
}