Search

2 operations. Paths start at your portal’s /api/v1.

Global search across all entities

GET/search

Scope read:searchRead only

Requires the read:search scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • keywordstringin query

    Text to find (required).

  • limitintegerin query

    Most rows per group (1 to 20, default 10).

Response 200

  • totalCountnumberRequired

    Rows returned across all groups.

  • shownnumberRequired

    Rows returned (same as totalCount).

  • totalnumberRequired

    All matches across all groups.

  • hasMorebooleanRequired

    True when more match than were returned.

  • totalsobjectRequired

    Real match counts per group.

  • totals.ticketsnumberRequired

    All matching tickets.

  • totals.clientsnumberRequired

    All matching clients.

  • totals.devicesnumberRequired

    All matching devices.

  • totals.usersnumberRequired

    All matching users.

  • searchSettingsobjectRequired

    The caller's own search settings that shaped the answer.

  • searchSettings.sourcestringRequired

    Whose order the groups follow, in words.

  • searchSettings.orderstring[]Required

    The group order (the caller's My Settings > Search).

  • searchSettings.switchedOffstring[]Required

    Groups the caller switched off.

  • ticketsobject[]Required

    Matching tickets, newest first.

  • tickets[].idnumberRequired

    Ticket number.

  • tickets[].subjectstringRequired

    Ticket subject.

  • tickets[].statusstringRequired

    Ticket status.

  • tickets[].organizationobjectRequired

    The ticket's client.

  • tickets[].organization.namestringRequired

    Client name.

  • clientsobject[]Required

    Matching clients, best name match first.

  • clients[].idstringRequired

    Client id.

  • clients[].namestringRequired

    Client name.

  • clients[].domainstringRequired

    Client domain.

  • clients[].statusstringRequired

    Client status.

  • devicesobject[]Required

    Matching devices.

  • devices[].idstringRequired

    Device id.

  • devices[].namestringRequired

    Device name.

  • devices[].displayNamestring or nullRequired

    Display name, or null.

  • devices[].deviceTypestring or nullRequired

    Device type, or null.

  • devices[].organizationobjectRequired

    The device's client.

  • devices[].organization.namestringRequired

    Client name.

  • usersobject[]Required

    Matching users.

  • users[].idstringRequired

    User id.

  • users[].namestring or nullRequired

    User name, or null.

  • users[].emailstringRequired

    User email.

  • users[].rolestringRequired

    User role.

  • summarystringRequired

    The rows as plain text lines, grouped.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Search tickets

GET/search/tickets

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • keywordstringin query

    Text to find in the ticket subject or description.

  • statusstringin query

    Ticket status, by id or name.

  • prioritystringin query

    Ticket priority, by id or name.

  • assignedToUserIdstringin query

    Assignee, by id or name.

  • organizationIdstringin query

    Client id.

  • limitintegerin query

    Most rows to return (1 to 50, default 20).

Response 200

  • countnumberRequired

    Rows returned.

  • shownnumberRequired

    Rows returned (same as count).

  • totalnumberRequired

    All tickets that match, including those past the limit.

  • hasMorebooleanRequired

    True when more tickets match than were returned.

  • ticketsobject[]Required

    The matching tickets, newest first.

  • tickets[].idnumberRequired

    Ticket number.

  • tickets[].subjectstringRequired

    Ticket subject.

  • tickets[].statusstringRequired

    Ticket status.

  • tickets[].prioritystringRequired

    Ticket priority.

  • tickets[].assignedTostring or nullRequired

    Assignee, or null when unassigned.

  • tickets[].organizationobjectRequired

    The ticket's client.

  • tickets[].organization.namestringRequired

    Client name.

  • tickets[].createdAtstringRequired

    When the ticket was created (ISO 8601).

  • summarystringRequired

    The rows as plain text lines.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

All API areas →