Recent searches


No recent searches

Searching with the Zendesk API



image avatar

Eric Nelson

Zendesk Developer Advocacy

Posted Dec 01, 2021

This is a continuing discussion about the article Searching with the Zendesk API in the developer documentation.


0

2

2 comments

Is it possible to have And operator used in the Search API call for tickets?

 

I am looking for something like 

"/api/v2/search.json?query=type:ticket status<=closed tags:check_for_migrated & tags:!GDPR"

0


image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Amit,
 
There isn't a way to explicitly specify matching logic with operators like AND (&), OR (||), etc.  Search will use AND logic for the supplied terms, unless when searching for multiple values of the same property.  So for example, given the terms tags:silver tags:bronze, search will employ OR logic.  We break this down in further detail in our search reference.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post