Search ticket rest api takes time to bring updated data | Community
Skip to main content

Search ticket rest api takes time to bring updated data

  • November 30, 2022
  • 1 reply
  • 0 views

Hi, 

We are searching for tickets based on a custom field. Below is the API

https://mydomain.zendesk.com/api/v2/search.json?query=custom_field_11116481119185:"*123:zzz*" type:ticket

We do changes to this field via the Update Ticket rest API and then search via the above Search rest API but it does not bring the updated results immediately. Sometimes it takes time of 2-5 min. 

Is this a known issue or I am doing something wrong?

1 reply

Eric27
  • November 30, 2022
Hey Leeza,

This is expected behavior it may take a few minutes for the records to get updated into the search index. We call it out in our documentation here.

Hope this helps!