Global Search
Unified search across customers, payments, invoices, etc.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Query parameters
q
Free-text query. < 2 chars returns mode='empty'. When the query looks like an entity ID (cus_prod_…, in_dev_…, etc.), the response switches to mode='id_lookup' and returns at most one entity from the matching section.
Response
Successful Response
query
The trimmed query that was searched.
mode
Which search mode produced the results.
sections
Result sections in display order. Empty list when no entity matched (the frontend renders the ‘No results’ empty state). Order: customers, payments, invoices, subscriptions, products, coupons, packages, meters, upgrade paths, then pages.
Errors
422
Unprocessable Entity Error