Search customers and loans
GEThttps://sandbox.api.lendeasy.ai/v1/portfolio/search Bearer token ·
READ_LMS_CUSTOMER | READ_LMS_LOAN_SUMMARYPermission-aware exact and prefix search: name token-prefix, exact current email, canonical phone, and exact loan account number. Results are safe summaries; the query and matched contact values are never echoed, and the response is never cached.
Path & query parameters
| Field | Type | Description |
|---|---|---|
| LendEasy-Tenant required in header | string | Tenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored. |
| q required in query | string | Search text, 2–320 characters after trimming. |
| type optional in query | string | Restrict to one result type; omit for both. One of customer · loan. |
| limit optional in query | integer | Maximum results to return. |
| cursor optional in query | string | Opaque cursor bound to the same query, type set, and caller scope. |