Identities
Filter identities
Filter identities with structured query filters using the Go SDK.
POST
Filter identities
Use
client.Identity.Filter to query identities with structured filters.
The Go SDK exposes
Filter on each service rather than a unified Search.filter helper. Use client.Identity.Filter for identities, and see filter records for other collections.Call the method
client.Identity.Filter
| Field | Type | Description |
|---|---|---|
Filters | []blnkgo.Filter | Array of filter conditions, each with a Field, Operator, and a Value or Values. |
SortBy | string | Field to sort by. Defaults to created_at. |
SortOrder | string | Sort direction, asc or desc. Defaults to desc. |
IncludeCount | bool | Return TotalCount in the response. Defaults to false. |
Limit | int | Maximum records to return. Defaults to 20, max 100. |
Offset | int | Records to skip for pagination. Defaults to 0. |
Use the filtered results
Read
result.Data for matching identities. Use result.TotalCount with Limit and Offset to paginate when IncludeCount is true.Related docs
How identities work
Linking balances and handling profile data.
How DB filtering works
Supported operators and field reference.