Search System Email Users
GET/api/email-templates/system-email/search-users
Cross-tenant search for user contacts, driving the autocomplete in the
Dev Tools "Send System Email to User" panel. System-admin only.
A UUID query matches the lead id, its tenant_id, or its permitted_tenant_id (so an admin can paste a sub-account tenant id). A non-UUID query is matched as an email substring. Each result carries the effective tenant id + name so the UI can render "<tenantName>(<tenantId>) - <leadId>".
Request
Responses
- 200
- 422
Successful Response
Validation Error