curl --request POST \
--url https://api.smokeball.com/search/files \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '
{
"query": "contract",
"filters": {
"searchFields": [
"Name",
"Content"
],
"includeFileExtensions": [
"pdf",
"docx"
],
"excludeFileExtensions": [
"tmp",
"bak"
],
"authorIds": [
"750eb5c5-ac0b-7d11-4997-e0ce9d8896c8"
],
"contactIds": [
"b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2"
]
}
}
'