Skip to content
Garrick Rohm edited this page Apr 17, 2018 · 3 revisions

See:

  # Corresponds to /api/v2/users/search?query="[email protected]"
  # http://developer.zendesk.com/documentation/rest_api/users.html#search-users
  # This is a special case for users only; other resources do not have this search API.
  client.users.search(:query => "[email protected]")

  # Corresponds to /api/v2/search?query="type:ticket moon"
  # http://developer.zendesk.com/documentation/rest_api/search.html
  client.search(query: 'type:ticket moon').first

  # Finding by id
  client.tickets.find(id: '24')

  # Finding Organizations by external_id
  client.organizations.search(:external_id => '0011I000009Ui7cQAC')

Also relevant is the page on client-side caching.

Clone this wiki locally