Codebase API Documentation

Searching

The ticket system has a powerful and sophisticated searching system which allows users to easily find tickets quickly. The syntax for searching is quite simple once you get to know it, and of course, users can save their searches to avoid having to remember complicated search queries.

You can search the tickets in the same way as generating a list but by simply passing a query parameter to the tickets URL - for example http://api3.codebasehq.com/widgets/tickets?query=status:closed to return all closed tickets.

Further information about the search syntax can be found in our support docs at https://support.codebasehq.com/articles/tickets/quick-search, where the syntax is exactly the same when using the "quick search" in the Codebase UI.

All results to this URL are paginated with 20 tickets per page. You can pass a page=2 parameter to access data from any subsequent pages. The request will return 404 when there are no more paginated results available.