Hello,
We've just added API documentation for
Filters, our structured search resource for parties, cases and opportunities. Filters allow for complex search queries to be made against specific fields and tags and are intended to compliment the existing
/search endpoints. They have been in use for over 12 months inside Capsule helping to power contact lists and now that we've finalised the API we're happy to provide public availability.
{
"filter": {
"conditions": [
{
"field": "tag",
"operator": "is",
"value": "VIP"
},
{
"field": "addedOn",
"operator": "is within last",
"value": 7
}
]
}
}
To view the supported search criteria for each entity type and for common usage examples you should check out the
Filters reference. See
Filters for the available operations.
Cheers,
Daniel