Skip to navigation

Search Content

Search across products, posts, and users. Returns up to 5 results per category, filtered to only include resources accessible to the current user.

Authentication: Required — Bearer token.

Query parameters:

  • q (required) — The search query string

Response:

  • results — Array of result objects, each with:
    • type — “product”, “post”, or “user”
    • id — Resource ID
    • title — Display title
    • slug / url — URL path
  • query — The search query that was executed

Search scope:

  • Products — Searches name and description (limit 5)
  • Posts — Searches name and content, only if posts feature is enabled (limit 5)
  • Users — Searches first name, last name, and email, only if directory is enabled (limit 5)

Notes: Returns empty results if the query is blank.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

qstringOptional

The search query string (required)

Response

OK