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 IDtitle— Display titleslug/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
postsfeature is enabled (limit 5) - Users — Searches first name, last name, and email, only if
directoryis 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
q
The search query string (required)
Response
OK