# Search contacts Advanced contact filtering with custom GraphQL where clauses and dynamic ordering Filter contacts using boolean logic and relationship-aware fields from contact_info. Real Example: bash curl --location 'https://{{host}}/v1/contacts/search' \ --header 'Authorization: bearer {{token}}' \ --header 'Content-Type: application/json' \ --data '{ "pageSize": 1, "where": { "_and": [ { "_or": [ { "contact_info": { "firstName": { "_ilike": "%john%" } } }, { "contact_info": { "lastName": { "_ilike": "%doe%" } } } ] }, { "active": { "_eq": true } }, { "createdAt": { "_gte": "1900-01-01T00:00:00Z" } }, { "contact_info": { "email": { "_ilike": "%@company.com%" } } } ] }, "orderBy": [ { "contact_info": { "lastName": "asc" } }, { "createdAt": "desc" } ] }' Endpoint: POST /gql/v1/contacts/search Version: 1.0.0 Security: BearerAuth ## Request fields (application/json): - `limit` (integer) - `where` (object) GraphQL-style where clause for complex contact filtering Example: {"_and":[{"_or":[{"contact_info":{"firstName":{"_ilike":"%john%"}}},{"contact_info":{"lastName":{"_ilike":"%doe%"}}}]},{"active":{"_eq":true}},{"createdAt":{"_gte":"1900-01-01T00:00:00Z"}},{"contact_info":{"email":{"_ilike":"%@company.com%"}}}]} - `orderBy` (array) Dynamic ordering with nested relationship fields Example: [{"contact_info":{"lastName":"asc"}},{"createdAt":"desc"}] ## Response 200 fields ## Response 400 fields ## Response 401 fields ## Response 500 fields