Search platform
GET
https://app.speybooks.com/api/v1/admin/searchOmni-search across users, organisations, and invoices. Accepts a q query parameter (minimum 1 character) and runs three parallel ILIKE searches, returning up to 5 results per entity type.
Search Fields
- Users — email, full_name
- Organisations — name, slug, UUID
- Invoices — invoice_number (includes contact name and formatted total)
Results are typed with type, id, label, and sublabel for uniform rendering in the admin UI.
Response
200 Cross-entity search results (up to 5 per entity type).
Show response fields
invoices array<object>organisations array<object>Show child attributes
id stringlabel stringsublabel stringtype stringusers array<object>Show child attributes
id integerisActive booleanlabel stringsublabel stringtype string